site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sgsDimv3ASZNr2ZTbctr1sN6EkIbOt/jPLT++UjNEZTDr39LNkICm/Q3HVijt2zenQbGNR1tCZ2GLslDBGbQtKahL94KKQbKpaL5l1VyajxA3szD1DevMlbTUpVRA3NubscDLKP0ohNFUtpyfCiP4sSKBNi+Up2yvrPy1D+DeTI= 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com