RE: [Haskell-cafe]Re: Hugsvs GHC (again)was: Re: Somerandomnewbiequestions

20 Jan
2005
20 Jan
'05
4:33 a.m.
On 19 January 2005 20:33, Glynn Clements wrote:
Simon Marlow wrote:
We do use a thread pool. But you still need as many OS threads as there are blocked read() calls, unless you have a single thread doing select() as I described.
How does the select() help? AFAIK, select() on a regular file or block device will always indicate that it is readable, even if a subsequent read() would have to read the data from disk.
Again we've lost track of the discussion a bit. Yes you're right, but I was answering a different question. Cheers, Simon
7426
Age (days ago)
7426
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow