Julian Smith <jules@op59.net> writes: > Is there any way of forcing a blocked call to `read(s)' (where `s' is for > a socket) in a different thread, to return immediately with an error? have you tried putting the socket in non-blocking mode ? -p.