From owner-freebsd-hackers Thu Apr 30 22:28:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA00414 for freebsd-hackers-outgoing; Thu, 30 Apr 1998 22:28:43 -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 WAA00409 for ; Thu, 30 Apr 1998 22:28:36 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id PAA01029; Fri, 1 May 1998 15:29:51 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199805010529.PAA01029@cimlogic.com.au> Subject: Re: recvmsg/sendmsg + pthreads? In-Reply-To: <19980501054545.6097.qmail@bleep.ishiboo.com> from "black@bleep.ishiboo.com" at "May 1, 98 00:45:45 am" To: black@bleep.ishiboo.com Date: Fri, 1 May 1998 15:29:46 +1000 (EST) Cc: jb@cimlogic.com.au, 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: > 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). If you're not compiling with -D_THREAD_SAFE, then you don't know if you are not getting an error. 8-) Except if the call is in the initial thread. -- 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