[Haskell] Socket barfs in thread

jason feingold haskellhound at yahoo.com
Tue Mar 30 19:31:38 EST 2004


When I create a socket, listen, and close it, it shuts down cleanly but when I pass the socket to a new thread I get four to six of the following message:
 
awaitRequests: unexpected wait return code 4294967295
 
These seem to come after the main thread exits.
 
It would seem that the socket has a thread affinity? Should sockets only be used in thread in which they were created?
 
I'm using GHC 6.2.1 on Win2K.
 
Thanks,
Jason Feingold
 


---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell/attachments/20040330/d6fe3ece/attachment.htm


More information about the Haskell mailing list