From owner-freebsd-current Wed Jun 17 14:53:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15887 for freebsd-current-outgoing; Wed, 17 Jun 1998 14:53:43 -0700 (PDT) (envelope-from owner-freebsd-current@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 OAA15881 for ; Wed, 17 Jun 1998 14:53:40 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id HAA12655; Thu, 18 Jun 1998 07:59:54 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199806172159.HAA12655@cimlogic.com.au> Subject: Re: cvs commit: src/lib/libc_r/uthread uthread_sig.c In-Reply-To: <199806171657.JAA02581@rah.star-gate.com> from Amancio Hasty at "Jun 17, 98 09:57:08 am" To: hasty@rah.star-gate.com (Amancio Hasty) Date: Thu, 18 Jun 1998 07:59:53 +1000 (EST) Cc: jb@cimlogic.com.au, mestery@winternet.com, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Amancio Hasty wrote: > Yeap, just finished testing over here and MT_SOCK_Test is failing :( > > Not sure if this is our fault . It appears that a select is failing > due to getting a SIGCHLD . If I change uthread_sig.c to not > set the interrupted bit when we get SIGCHLD, the MT_SOCK_Test appears > to pass. My take is that something else failed other than the wait4 > and there is possibly a bug in the test for not being able to handle > properly an interrupted select call. I think it is a bug in libc_r. If the test program has SIG_DFL declared as the signal handler for SIGCHLD, then the signal is supposed to be discarded. And I assume that if a signal is discarded, it should not interrupt the state that a thread is waiting in. I'll check this, then I'm going on another ACE vacation. 8-) -- 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-current" in the body of the message