News for hackers. Stuff that matters.
Re:Escape from Callback Hell by fzzzy on Sunday March 03, 2013 @02:41PM (#5314971)
Are they really preemptive? How does the scheduler decide when to switch?
Re:Escape from Callback Hell by Peaker on Monday March 04, 2013 @05:20AM (#5317575)
Yeah, they are preemptive (though there had been a long-standing bug where threads that have no allocations don't get preempted, I believe it is fixed now).

This is some documentation of the scheduler: http://blog.ezyang.com/2013/01/the-ghc-scheduler/