[RESOLVED] 'accept' behavior with an asynchronous exception inside of a 'block'

2006-12-08 Thread Cat Dancer
I had asked: If I use a network accept inside a block: block ( ... (clientSocket, sockAddr) <- accept serverSocket ... ) and the 'accept' unblocks a pending asynchronous exception and the exception gets thrown, does this mean that the 'accept' won't have accepted a network

Re: throwTo & block statements considered harmful

2006-12-08 Thread Cat Dancer
The key problem is, at least in the presence of block/unblock, that Exceptions are never reliably delivered. Never? Even in a function which is in a blocking state? The implementation of asynchronous signals, as described by the paper "Asynchronous exceptions in Haskell Simon Marlow, Simo

'accept' behavior with an asynchronous exception inside of a 'block'

2006-12-06 Thread Cat Dancer
Chris Kuklewicz suggested I direct this question to the developers ^_^ If I use a network accept inside a block: block ( ... (clientSocket, sockAddr) <- accept serverSocket ... ) and the 'accept' unblocks a pending asynchronous exception and the exception gets thrown, does this