• 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
Re: launchd vs IOKit intialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launchd vs IOKit intialization


  • Subject: Re: launchd vs IOKit intialization
  • From: Dave Zarzycki <email@hidden>
  • Date: Fri, 02 Nov 2007 06:47:22 -0700

On Nov 2, 2007, at 4:19 AM, Stéphane Sudre wrote:

Is there supposed to be a defined launch order for launchd and IOKit kexts?

Not in the traditional sense. We have IOKit APIs to accomplish the ordering you may desire.


From what I can see on Leopard, launchd can launch daemons before all the IOKit kexts are loaded.

Yup.

I then have one question if the answer is that these 2 processes can run at the same time:

If you load a IOKit kext from a launchd script, can it cause trouble when the IOKit startup procedure tries to launch it just before that or just after that?

IOKit vends APIs to dynamically be notified on the availability of hardware/drivers. In today's hot-plug world, I'd suggest that you modify your program to use those APIs. Once you've done that, the use of launchd does not change the outcome of your program.


davez

_______________________________________________
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


References: 
 >launchd vs IOKit intialization (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Personality?
  • Next by Date: Re: Personality?
  • Previous by thread: launchd vs IOKit intialization
  • Next by thread: CFRunLoopStop too powerful when invoked by bootstrap per-user daemon?
  • Index(es):
    • Date
    • Thread