Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 1998 19:07:34 +1000 (EST)
From:      John Birrell  <jb@cimlogic.com.au>
To:        smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav)
Cc:        jabley@clear.co.nz, freebsd-hackers@FreeBSD.ORG
Subject:   Re: pthreads
Message-ID:  <199807020907.TAA02581@cimlogic.com.au>
In-Reply-To: <rx4g1gk4sjy.fsf@oslo.geco-prakla.slb.com> from =?ISO-8859-1?Q?Dag=2DErling_Coidan_Sm=F8rgrav?= at "Jul 2, 98 09:32:01 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807020907.TAA02581>