4 ms·
As soon as you run more than one thread, you'll have to worry about memory barriers, cache coherency, processor affinity etc. Even with one thread, modern IO an
by willtim 10y ago
As soon as you run more than one thread, you'll have to worry about memory barriers, cache coherency, processor affinity etc. Even with one thread, modern IO and system calls are highly asynchronous. Not the sort of machine that e.g. C or C++ was originally envisioned for.
- ktRolster 10y agoEven with one thread, modern IO and system calls are highly asynchronous. What are you doing, calling select() or something?