Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- Subject: Re: IOKit KEXT Won't Load If Start Code Tries to Attach and Register?
- From: "Chase Colman" <email@hidden>
- Date: Tue, 12 Jun 2007 22:38:21 -0400
A way to prove that you have gone into an infinite loop is to print a
short log message and go to sleep for 10 milliseconds on entry to
your start routine. This will give the kernel logger enough runtime
to send data to the system log.
How would I go about sleeping in a kernel extension? I can't use sleep or usleep within a KEXT so far as I know due to the fact both are in the standard C library.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden