RE: Blocking IO in module Socket
22 Oct
2001
22 Oct
'01
10:56 a.m.
Why doesn't Socket.accept call threadWaitRead before entering the C-call (which will block the entire RTS when used in conjunction with Concurrent)? Is there any design decision involved?
The call doesn't block, because the socket is set to non-blocking mode. Or have you perhaps observed different behaviour? It works here. Cheers, Simon
22 Oct
22 Oct
11:43 a.m.
New subject: Blocking IO in module Socket
Am 22. Oct 2001 um 12:56 MET DST schrieb Simon Marlow:
The call doesn't block, because the socket is set to non-blocking mode. Or have you perhaps observed different behaviour? It works here.
Okay, I'm stupid. I can clearly see the 'threadWaitRead' statement now. -- Volker Stolz * vs@foldr.org * PGP + S/MIME
8841
Age (days ago)
8841
Last active (days ago)
1 comments
2 participants
participants (2)
-
Simon Marlow -
Volker Stolz