Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
PTHREAD_MUTEX_RECURSIVE as alternative for sem_init()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PTHREAD_MUTEX_RECURSIVE as alternative for sem_init()



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


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.