[Haskell-cafe] Re: Hugsvs GHC (again)was: Re: Somerandomnewbiequestions
Simon Marlow
simonmar at microsoft.com
Thu Jan 20 04:25:49 EST 2005
On 19 January 2005 16:58, Keean Schupke wrote:
> Simon Marlow wrote:
>> This is what GHC does, if I understand you correctly. The thread
>> running select() does so in its own OS thread, while another OS
>> thread runs the Haskell code. As long as you use -threaded, that
>> is. Oh, and before GHC 6.4 it was done a different way - the
>> scheduler used to do the select() between running Haskell threads.
>>
>> Cheers,
>> Simon
>>
>>
> So this means even though the IO calls block, the other Haskell
> threads (when run with -threaded) keep running?
Yes, unless the IO is to/from disk on a Unix system.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list