Implementing Mutex in IOKIT driver
Implementing Mutex in IOKIT driver
- Subject: Implementing Mutex in IOKIT driver
- From: santosh katvate <email@hidden>
- Date: Sat, 13 Aug 2005 17:15:27 +0530
Hello everybody
I want to know how to implement mutex in case of driver.
i am able to trap read routine in my driver(which has
ioblockstoragedriver as its base class) but for some of the read
request i want to do some processing for which i want that only after
one request is completed ,that the second request should be processed
Till that time other request should be in wait state.
What are the ways in which i can handle this situation.
I am using pair of IOLOCK and IOUNLOCK function but it results in system hang
Thanking in advance
Santosh k
--
Life is Small and Lots of Things to Learn
Lets Share the Knowledge
_______________________________________________
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