Re: Hugsvs GHC (again)was: Re: Somerandomnewbiequestions
k.schupke at imperial.ac.uk
Wed Jan 19 09:01:03 EST 2005
Simon Marlow wrote:
>>Okay, my ignorance of Posix is showing again. Is it currently the
>>case, then, that every GHC thread will stop running while a disk read
>>is in progress in any thread? Is this true on all platforms?
>It's true on Unix-like systems, I believe. Even with -threaded. It
>might not be true on Win32.
I think this is not true on linux, where a thread is just a process created
with special flags to keep the same fds and memory.
As threads on linux are scheduled like processes, one thread blocking should
not affect the others?
(As an alternative there is always the AIO library)
More information about the Haskell-Cafe