4 ms·
... do you think available memory and CPU time do not decrease when you spawn more threads?
by flavio81 9y ago
... do you think available memory and CPU time do not decrease when you spawn more threads?
- schneems 9y agoUse threads. They exist. Use em'. Know what threads are really good at? Hiding IO time. They're like REALLY good at it. When a thread is blocked on IO, it's not spinning your CPU. So is the thread "free"? No. Is it pretty cheap compared to re-writing an app in another lang? Yes.