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: Using semaphores in kernel level driver



Yogesh,

It sounds like you want to use a WorkLoop. Again, it's important to understand
how to do things with I/O Kit; it sounds like, once again, you are trying to
make things look like a different driver architecture.


 = Mike

On Dec 23, 2005, at 5:21 AM, Yogesh P wrote:

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

_______________________________________________ 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
References: 
 >Using semaphores in kernel level driver (From: Yogesh P <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.