2 ms·
User-space threading is not broken. Windows even directly provides support for user-space scheduled threads[0]. The whole model isn't broken; rather, it's liber
by kccqzy 7y ago
User-space threading is not broken. Windows even directly provides support for user-space scheduled threads[0]. The whole model isn't broken; rather, it's liberating. Once the application programmer gets rid of the idea that threads are expensive and starts creating thousands of them willy-nilly, these applications often benefit from a much simpler architecture and fewer bugs. All these complexities are pushed into the user-space scheduler. It's worth it.
[0]: https://docs.microsoft.com/en-us/windows/win32/procthread/user-mode-scheduling https://docs.microsoft.com/en-us/windows/win32/procthread/us...