Date: Fri, 1 May 1998 00:45:45 -0500 (EST) From: black@bleep.ishiboo.com To: jb@cimlogic.com.au (John Birrell) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: recvmsg/sendmsg + pthreads? Message-ID: <19980501054545.6097.qmail@bleep.ishiboo.com> In-Reply-To: <199805010221.MAA27044@cimlogic.com.au> from John Birrell at "May 1, 98 12:21:32 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
i'm not getting an error, it just returns immediately even though there is no data to be read on the socket. (no, i'm not compiling with -D_THREAD_SAFE but thanks for the tip). > black@bleep.ishiboo.com wrote: > > are the recvmsg and sendmsg calls threadsafe in 2.2.6-STABLE? i am having > > problems getting things to work when doing recvmsg() on a socket if > > multiple threads are involved. > > Are you compiling with -D_THREAD_SAFE so that you get the thread-specific > errno? > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980501054545.6097.qmail>