Related to this discussion, this talk on user-scheduled OS threads is really interesting. It's a shame no proposed implementation or experimental patches have appeared https://www.youtube.com/watch?v=KXuZi9aeGTw
Re:Haskell in the Datacentre
by imtringued on Thursday December 15, 2016 @01:55AM
(#13182960)
Can I start a thread and have it run code on a different core within one microsecond?
Re:Haskell in the Datacentre
by paulddraper on Thursday December 15, 2016 @10:02PM
(#13190750)
If you can, I hope you won't.
What could you be hoping to accomplish?
There is a reason POSIX threading is implemented in the kernel on every operating system, even if they all started as N:M or 1:M implementations.