4 ms·
> The only advantage of green threading is the capability to do problem-specific optimized scheduling. Isn’t the main advantage simply that you avoid making an
by pm90 5y ago
> The only advantage of green threading is the capability to do problem-specific optimized scheduling.
Isn’t the main advantage simply that you avoid making an absurd number of costly system calls?
- camnora 5y agoThis article does a pretty good job of explaining how green events work. It seems that each of the threads will attempt to accept any/all incoming requests. https://rachelbythebay.com/w/2020/03/07/costly/ https://rachelbythebay.com/w/2020/03/07/costly/
- dekhn 5y agothat's an implementation detail, mostly because Linux has taken too long to copy WaitForMultipleObjects https://stackoverflow.com/questions/13913882/what-is-the-equivalent-linux-api-for-waitformultipleobjects-and-wsaenumnetwork https://stackoverflow.com/questions/13913882/what-is-the-equ...