Date: Wed, 27 Feb 2008 22:23:54 +0000 (GMT) From: <jimmy@mammothcheese.ca> To: mark.linn@gmail.com Cc: freebsd-hackers@freebsd.org, jimmy@mammothcheese.ca Subject: Re: Re: non-blocking io, EINTR Message-ID: <1702965342.3351204151034722.JavaMail.mail@webmail03>
next in thread | raw e-mail | index | archive | help
The author is=C2=A0just trying to=C2=A0make his reads and w= rites=C2=A0robust. The=C2=A0functions he=C2=A0has written have no kno= wledge whether or not signals have been set to=C2=A0interrupt system = calls, so he makes sure they test for EINTR in case they have been. On Feb 27, 2008, mark.linn@gmail.com wro= te: Thanks, E= d and James, Then why in the world the sample code in this acm p= aper would test EINTR in read and write? link is here. [1]http://delivery.acm.org/10.1145/1350000/= 1344155/9815.html?key1=3D1344155&key2=3D2950393021&coll=3DGUIDE&= ;dl=3D&CFID=3D15151515&CFTOKEN=3D6184618 References 1. 3D"http://delivery.acm.org/10.1145/1350000/1344155/9815.html=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1702965342.3351204151034722.JavaMail.mail>