Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN

From: David S. Miller
Date: Tue Aug 16 2005 - 13:38:38 EST


From: Kern Sibbald <kern@xxxxxxxxxxx>
Subject: PROBLEM: blocking read on socket repeatedly returns EAGAIN
Date: Tue, 16 Aug 2005 15:19:39 +0200

> A read() on a TCP/IP socket, which should block returns -1 with errno=EAGAIN

If a signal is delivered to the process during the read(),
then -EAGAIN is perfectly valid.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/