PTHREAD_MUTEX_RECURSIVE as alternative for sem_init()
PTHREAD_MUTEX_RECURSIVE as alternative for sem_init()
- Subject: PTHREAD_MUTEX_RECURSIVE as alternative for sem_init()
- From: Jonas Maebe <email@hidden>
- Date: Wed, 20 Dec 2006 22:28:25 +0100
Hello,
Since Darwin does not support nameless semaphores (sem_init), I'm
considering using recursive mutexes instead. Are there any semantical
differences between the two? If not, since when have recursive
mutexes been available in Darwin? I found a note from someone at
http://lists.apple.com/archives/darwin-development/2003/Jan/
msg00134.html stating they were already in 10.2.x. Does anyone know
if that is that correct?
Thanks,
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden