From owner-freebsd-hackers Thu Jul 2 01:56:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA10453 for freebsd-hackers-outgoing; Thu, 2 Jul 1998 01:56:46 -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 BAA10436 for ; Thu, 2 Jul 1998 01:56:42 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.8/8.8.7) id TAA02581; Thu, 2 Jul 1998 19:07:35 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199807020907.TAA02581@cimlogic.com.au> Subject: Re: pthreads In-Reply-To: from =?ISO-8859-1?Q?Dag=2DErling_Coidan_Sm=F8rgrav?= at "Jul 2, 98 09:32:01 am" To: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) Date: Thu, 2 Jul 1998 19:07:34 +1000 (EST) Cc: jabley@clear.co.nz, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dag-Erling Coidan Smørgrav wrote: > BTW, the Solaris thread implementation has a very nice feature which > POSIX threads lack: the ability to wait on all threads in one call, > like this: > > while(thr_join(NULL, NULL, NULL) == 0) > /* nothing */ ; > > This will block until all other threads terminate. Could there be some > loophole in the POSIX spec which would allow us to implement something > similar? POSIX allows extensions so it is just a matter of writing the code. -- 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