Re: Proper termination of an IOKit driver
On 3/30/04 12:46 PM, "Dean Reece" <dean.reece@apple.com> wrote:
I'm not aware of a particularly relevant example, but look around in
Darwin for drivers that implement terminate().
You could look at the IOUSBFamily project in Darwin and look at one of our drivers, such as the IOUSBHIDDriver. We implement I/O reference counting so that we are not terminated while we have pending I/O. We use willTerminate() and didTerminate() and the open/close semantics (on our provider). -- Fernando Urbina mailto:nano@apple.com USB Technology Team work: 719.534.9387 Apple Computer, Inc. fax: 719.532.0981 _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Fernando Urbina