FFI: number of worker threads?

Simon Marlow simonmarhaskell at gmail.com
Thu Jun 22 05:45:49 EDT 2006


Tony Finch wrote:
> 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?

Yes.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list