Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to do deferred terminate in kext?



Hi,

I have a kext that I want to implement deferred termination in. I want to defer termination until an i/o request completes on my device. Reading the docs on terminate (requestTerminate, terminate, willTerminate, didTerminate) is a bit mind-numbing and to say the least terse. Can someone point me to either sample code or pseudo-code of the functions from the above list and how to do this? I assume I return false from one of these and then later have to call something else to get the termination kicked off again.

Thanks,

Scott
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.