[EMAIL PROTECTED] wrote:

> On Wed, Jan 30, 2002 at 11:12:20AM -0500, 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?
> Or mutex.


Anders Gnistrup wrote:

> jep. ->Mutex. Mutex perform just like a binary semaphore. Mutex's is part of 
>pthread.h 




mutexes depends on which thread locks them.


I need something like VxWorks binary semaphores which use semBcreate, 
semaTake and semGive



thanks
-- 
Massimiliano Cialdi
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-- [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