Date: 23 Nov 2001 15:27:35 +0100 From: Dag-Erling Smorgrav <des@ofug.org> To: freebsd-chat@freebsd.org Subject: Re: Reentrant readn() and writen() for socket communication Message-ID: <xzp8zcxwoiw.fsf@flood.ping.uio.no> In-Reply-To: <873d363u6n.fsf@tea.thpoon.com> References: <873d363u6n.fsf@tea.thpoon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Arcady Genkin <antipode@thpoon.com> writes: > The functions handle interrupted read()/write() system calls by > examining errno value. This approach is not thread-safe (because of > usage of errno global). In FreeBSD, errno is local to each thread. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp8zcxwoiw.fsf>