lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] SemSignal gets called on a already signaled semaphore


From: Goldschmidt Simon
Subject: RE: [lwip-users] SemSignal gets called on a already signaled semaphore
Date: Fri, 1 Jun 2007 15:46:59 +0200

> > So far I have used Win32, µC/OS-II and embOS and I haven't used 
> > condidtion variables before (or I don't get your examples...).
> > Can you give an example under thos systems or linux?
> 
> pthread_cond_wait on linux/POSIX, and SignalObjectAndWait and 
> WaitForSingleObject on Win32 (taking mutexes as the object). 

But WaitForSingleObject() is like mutex_lock() (with a timeout), isn't it?
Where's the condition variable with that? Or did you mean to implement
counting semaphores using mutexes???

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]