What is the scheduler type of GHC?

Simon Marlow marlowsd at gmail.com
Wed Jan 16 11:23:36 CET 2013

On 16/01/13 08:32, Magicloud Magiclouds wrote:
> Hi,
>    Just read a post about schedulers in erlang and go lang, which
> informed me that erlang is preemptive and go lang is cooperative.
>    So which is used by GHC? From ghc wiki about rts, if the question is
> only within haskell threads, it seems like cooperative.

GHC is pre-emptive, but see http://hackage.haskell.org/trac/ghc/ticket/367.


More information about the Glasgow-haskell-users mailing list