
25 Apr
2005
25 Apr
'05
5:51 a.m.
Simon Marlow writes:
hPutBufNonBlocking :: Handle -> Ptr a -> Int -> IO Int hGetBufNonBlocking :: Handle -> Ptr a -> Int -> IO Int
I believe they don't have proper non-blocking behaviour on Windows, though.
What exactly would happen when I'd try to use those on Windows? Would they block until they had read/written exactly 'Int' bytes? Or is there some other, more subtle difference? Peter