Email List: Xaustin-group-lX
[All Lists]

Re: [Fwd: C Language Thread API]

To: Nick Stoughton <nick@xxxxxxxxxx>
Subject: Re: [Fwd: C Language Thread API]
From: "yodaiken@xxxxxxxxxxx" <yodaiken@xxxxxxxxxxx>
Date: Mon, 11 Aug 2008 14:15:41 -0500
Cc: austin-group-l@xxxxxxxxxxxxx
References: <1218473241.3586.3.camel@amstaff2.msbit.com>
How do you do:

thread A: while(1){wait for event; process data; sem_post;}
thread B1 ... BN: while(1) { sem_get; collect data; ... }

?

Gotta implement semaphores with conditions?


Nick Stoughton wrote:
The ISO C Committee is intending to add a standardized thread API to its
next revision. The Austin Group had at one point suggested to them that
if they did so, pthreads would be the obvious one. However, the current
proposal is based on the Dinkumware thread library, which is a very thin
layer over pthreads.

I have an action item to ask the Austin Group for feedback (review and
comment) on this proposal, which can be found at
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1287.htm

If anyone has any difficulty in accessing this paper, please email me
and I send it it you independently.

The next C meeting is September 8-12 in Santa Clara.





<Prev in Thread] Current Thread [Next in Thread>