Mailing Lists: Apple Mailing Lists

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

Using semaphores in kernel level driver



Hi Folks,

I will have to use semaphore to make synchronization between the
threads.

After creating a thread using IOCreateThread(), I will have to put that
thread in a wait state and wake up that thread after receiving some
interrupt.

Is there any sample driver code on developer site which I can refer for
using semaphore for synchronizing threads.


Thanks in advance,
Yogesh Pahilwan



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

This email sent to 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.