Should You Abandon Threads?
No: important for high-end servers (e.g. databases).
But, avoid threads wherever possible:
- Use events, not threads, for GUIs,distributed systems, low-end servers.
- Only use threads where true CPUconcurrency is needed.
- Where threads needed, isolate usagein threaded application kernel: keepmost of code single-threaded.