Re: Proper termination of an IOKit driver
Re: Proper termination of an IOKit driver
- Subject: Re: Proper termination of an IOKit driver
- From: Fernando Urbina <email@hidden>
- Date: Tue, 30 Mar 2004 13:33:38 -0700
On 3/30/04 12:46 PM, "Dean Reece" <email@hidden> 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:email@hidden
USB Technology Team work: 719.534.9387
Apple Computer, Inc. fax: 719.532.0981
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.