[Haskell-cafe] on the number of ghc_worker threads on executables

Niklas Hamb├╝chen mail at nh2.me
Tue Jul 4 20:43:21 UTC 2017


Others may have more insights, but with -threaded, `safe` FFI calls run
in their own threads as to not block your Haskell thread.

So even with -N1 you can have (arbitrarily?) many OS threads, depending
on how many safe foreign calls you do.


More information about the Haskell-Cafe mailing list