Verify that only one launchd-started process runs at a time
Verify that only one launchd-started process runs at a time
- Subject: Verify that only one launchd-started process runs at a time
- From: Per Ohlson <email@hidden>
- Date: Fri, 26 Dec 2008 00:29:29 +0100
I have a small daemon which i scheduled to run at different times of
the day by using launchd-plists with StartCalendarInterval. This
daemon is using a USB-device which only handles one call at a time.
Sometimes, the daemon is scheduled to run twice at the same time.
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?
/P
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden