Re: isEmptyChan blocks?

2003-06-30 Thread Volker Stolz
Am 23. Jun 2003 um 12:05 CEST schrieb Simon Marlow: Could you explain how this works? writeChan doesn't update the count - it should, right? But if it does, won't there be race conditions when read write happen at the same time? I updated the file at http://www.foldr.org/~stolz/Chan2.hs

Re: sockets and handles in ghc

2003-06-30 Thread Jurriaan Hage
On Friday, June 27, 2003, at 07:08 PM, Volker Stolz wrote: [Moving to [EMAIL PROTECTED] In local.haskell, you wrote: I've been using sockets and handles with ghc-5.04.3. The strange thing is now that when I make a handle out of a socket and ask whether the handle is readable or writable, it

Re: sockets and handles in ghc

2003-06-30 Thread Volker Stolz
In local.glasgow-haskell-users, you wrote: I've been using sockets and handles with ghc-5.04.3. The strange thing is now that when I make a handle out of a socket and ask whether the handle is readable or writable, it returns True for the former and False for the latter, although sockets are