on the number of ghc_worker threads on executables
I noticed that on -threaded programs, even with just 1 capability (+RTS
-N1) the number of worker tasks is usually more than 3. Examples of this
are glirc and taffybar. What factors determine the number of
Tasks/worker Tasks (OS threads) on a program?
Re: on the number of ghc_worker threads on executables
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.
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.