| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi folks,
I notice that Darwin and Mac OS X doesn't implement Posix memory-based semaphores, but only named semaphores. That is, you can use sem_open but not sem_init (which returns ENOSYS).
Can anyone shed any light on why this is so??
Thanks.....Peter
Perhaps because they have similar functionality in the mach_semaphore libraries?
I don't know why either. I filed a bug about this and it's stil "Open for review".
you can use semget, semctl, semop.
sorry but I have never used named semaphores
| References: | |
| >stabs common symbols relocation (From: Jonas Maebe <email@hidden>) | |
| >semaphores in Darwin (From: Peter Lovell <email@hidden>) | |
| >Re: semaphores in Darwin (From: David Leimbach <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.