FFI: number of worker threads?

Tony Finch dot at dotat.at
Wed Jun 21 14:38:33 EDT 2006


On Wed, 21 Jun 2006, Simon Peyton-Jones wrote:

> New worker threads are spawned on as needed.  You'll need as many of
> them as you have simultaneously-blocked foreign calls. If you have 2000
> simultaneously-blocked foreign calls, you'll need 2000 OS threads to
> support them, which probably won't work.

Does the RTS use select() to multiplex network IO instead of spawning
threads?

Tony.
-- 
f.a.n.finch  <dot at dotat.at>  http://dotat.at/
ROCKALL MALIN: NORTHWESTERLY 7 TO SEVERE GALE 9 DECREASING 5 OR 6. RAIN OR
SHOWERS. MODERATE OR GOOD, BECOMING POOR AT TIMES.


More information about the Glasgow-haskell-users mailing list