> > 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 _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
