Mailing Lists: Apple Mailing Lists

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

Re: why no IOSimpleLockSleep()?



Andrew Gallatin writes:
 > My worry is that there is no IOSimpleLockSleep(), and I would have to
 > call a Mach function directly.  Since I've been burned by going around
 > IOKit in the past,  I thought should I ask why the IOKit wrapper is not
 > there..

Another, more serious, worry is that I have no idea how thread_block()
would behave if called with interrupts disabled (as I'd have to do 
in order to avoid deadlocks with my filter interrupt).  

So I guess it gets even worse, as I'd have to go back to calling
assert_wait()/thread_block myself().

Drew


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >why no IOSimpleLockSleep()? (From: Andrew Gallatin <email@hidden>)



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.