From owner-freebsd-hackers Thu Apr 30 19:19:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA05704 for freebsd-hackers-outgoing; Thu, 30 Apr 1998 19:19:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05685 for ; Thu, 30 Apr 1998 19:18:58 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id MAA27044; Fri, 1 May 1998 12:21:33 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199805010221.MAA27044@cimlogic.com.au> Subject: Re: recvmsg/sendmsg + pthreads? In-Reply-To: <19980501015019.28211.qmail@bleep.ishiboo.com> from "black@bleep.ishiboo.com" at "Apr 30, 98 08:50:19 pm" To: black@bleep.ishiboo.com Date: Fri, 1 May 1998 12:21:32 +1000 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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