From owner-freebsd-hackers Wed Feb 5 12:44:42 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA10475 for hackers-outgoing; Wed, 5 Feb 1997 12:44:42 -0800 (PST) Received: from werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id MAA10431 for ; Wed, 5 Feb 1997 12:44:10 -0800 (PST) Received: (qmail 11917 invoked by uid 5); 5 Feb 1997 20:44:05 -0000 MBOX-Line: From jb@freebsd1.cimlogic.com.au Thu Feb 6 07:37:02 1997 Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.7.5/8.7.3) id HAA02960; Thu, 6 Feb 1997 07:37:02 +1100 (EST) From: John Birrell Message-Id: <199702052037.HAA02960@freebsd1.cimlogic.com.au> Subject: Re: sigwait and threads? To: lada@ws2301.gud.siemens.co.at (Hr.Ladavac) Date: Thu, 6 Feb 1997 07:37:01 +1100 (EST) Cc: ljo@Mcs.Net, hackers@freebsd.org In-Reply-To: <199702051749.AA254324944@ws2301.gud.siemens.co.at> from "Hr.Ladavac" at "Feb 5, 97 06:49:04 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hr.Ladavac wrote: > sigwait() is a DCE-ism, or better yet, pthread Draft 4-ism. At that > stage they had no support for per thread sigaction() nor signal()--as a > matter of fact, one was not allowed to use them. > > Pthread Draft 7 introduced per-thread sigaction and signal semantics, and > I believe the Draft 10 and Standard have thrown the whole sigwait mess out. sigwait *is* in draft 10. > > AFAIK, the libc_r implements pthread Standard; you should be able to > use sigaction instead. It might be possible to write a wrapper around > it to implement sigwait for the DCE compatibility. Andy(?) Birrell may > have further comments. > > Another difference that DCE requires and Draft 8 has thrown out is > pthread_detach(). pthread_detach is in draft 10, too. > > /Marino Regards, -- John Birrell CIMlogic Pty Ltd jb@cimlogic.com.au; jb@netbsd.org 119 Cecil Street Ph +61 3 9690 6900 South Melbourne Vic 3205 Fax +61 3 9690 6650 Australia Mob +61 18 353 137