site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Try semget along with the flag IPC_CREAT. Luke Sent from my iPhone. Hi all I tried to use sem_init() but I think it is not there to use. It is declared in semaphore.h but when I do man sem_init() then it gives the message "No manual entry for sem_init". Now, I am using sem_open(). I think it is right API to create unique semaphore between multi-processes. But creating it in one process if I try to create in another process, the value of semaphore is not same. I am using same name in both process(1st argument of sem_open()). Please suggest to create semaphore (cross-processes). Regards rksinghal _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/luketheh%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Nov 26, 2008, at 7:31 PM, Rakesh Singhal <rakesh.singhal@gmail.com> wrote: This email sent to luketheh@apple.com This email sent to site_archiver@lists.apple.com
participants (1)
-
Luke Hiesterman