On Thu, Jan 31, 2002 at 09:10:38AM +0100, Massimiliano Cialdi wrote:
> Ish Rattan wrote:
> 
> > On Wed, 30 Jan 2002, Massimiliano Cialdi wrote:
> > 
> > 
> >>I need to use binary semaphore instead of counting.
> >>There is a posix implementation?
> >>
> > What about counting semaphore initalized to 1?
> I need a semaphore that assumes only values 0 or 1, and never greater than 1.

You mean you plan to do multiple consecutive sem_posts ?
Have you looked at condvars?



-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to