Windows User-Mode Scheduling seems to clearly be the best version of M:N scheduling. Why isn’t it ever brought up?
-
-
-
Replying to @samth
Because it’s compatible with existing code. Doing a blocking syscall kicks your scheduler awake.
2 replies 0 retweets 0 likes -
Replying to @pcwalton
So, similar to a good M:N VM, but in the kernel and knows about C syscalls? How lightweight are the threads?
1 reply 0 retweets 0 likes -
Replying to @samth
Haven’t benchmarked, but they’re the officially MS-blessed API for GHC- or Go-like use cases, so I assume they’re fast.
1 reply 0 retweets 0 likes
Oh, another thing: Native OS thread-local storage APIs work with them. Big compatibility win.
7:34 PM - 21 Jun 2017
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.