• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Verify that only one launchd-started process runs at a time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Verify that only one launchd-started process runs at a time
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: renderer CALayer via CARenderer into CGLContext (off screen)
  • Next by Date: Re: Verify that only one launchd-started process runs at a time
  • Previous by thread: renderer CALayer via CARenderer into CGLContext (off screen)
  • Next by thread: Re: Verify that only one launchd-started process runs at a time
  • Index(es):
    • Date
    • Thread