Execv failure with multi-user application
Execv failure with multi-user application
- Subject: Execv failure with multi-user application
- From: Darren Mason <email@hidden>
- Date: Sat, 24 Mar 2007 23:46:31 -0700
This might have been answered somewhere else, but I couldn't find
anything that detailed my exact problem. I'm working on an application
that each user runs their own instance of as an agent, but they
coordinate when updating using named semaphores. At first I had a
problem using exevc to launch the updater application, getting ENOTSUP
back before I found out that it just meant that there was a thread still
running. This was easy enough to solve, but now I've come across the
same issue if *another* user is running an instance of the application.
Is this supposed to happen, and if so under what conditions? Could this
be caused by the named semaphore handles? I'm calling sem_close on them
but not sem_unlink because that would break the coordination mechanism.
Thanks in advance,
Darren Mason
_______________________________________________
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