Re: Verify that only one launchd-started process runs at a time

2008-12-26 Thread Per Ohlson
Thanks, this was exacly what I was looking for. I didn't know where to start with semaphores on OSX. Works like a charm. /P 26 dec 2008 kl. 02.10 skrev Ken Thomases: On Dec 25, 2008, at 6:22 PM, Jerry Krinock wrote: On 2008 Dec, 25, at 15:29, Per Ohlson wrote: I would like to make shure

Re: Verify that only one launchd-started process runs at a time

2008-12-25 Thread Ken Thomases
On Dec 25, 2008, at 6:22 PM, Jerry Krinock wrote: On 2008 Dec, 25, at 15:29, Per Ohlson wrote: I would like to make shure that the second daemon started will wait for the first daemon to finish before the second starts. Can this somehow be done with SIGTERM signaling or something? Any other

Re: Verify that only one launchd-started process runs at a time

2008-12-25 Thread Jerry Krinock
On 2008 Dec, 25, at 15:29, Per Ohlson wrote: I would like to make shure that the second daemon started will wait for the first daemon to finish before the second starts. Can this somehow be done with SIGTERM signaling or something? Any other suggestions? Well, what would send the SIGTERM?