pthread_cond_signal() leaves the object nonsignaled like PulseEvent()
in Win32. Is there any POSIX or Mac function which leaves the object
signaled like SetEvent() in Win32? Counting semaphore will not fit in
my case.
There is none in the pthread_* family at least. But you can implement
one on top of them using something like this (typed in Mail):
ResetEvent() and DestroyEvent() left as an exercise to the reader.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden