4 ms·
Not sure how the second sentence follows from the first here ... As for context switching speed, you may well be right, but I was under the impression that thr
by ur-whale 8y ago
Not sure how the second sentence follows from the first here ...
As for context switching speed, you may well be right, but I was under the impression that thread context switching in Linux is really cheap these days, almost as fast as userland coroutines.
- blattimwind 8y agoCoroutine switching can be as fast as a dozen or so ns. Meanwhile a thread context switch will still take a microsecond at least.