site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Yogesh, = 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. Thanks in advance, Yogesh Pahilwan _______________________________________________ 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/drivers%40mu.org _______________________________________________ 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... 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. 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. This email sent to drivers@mu.org This email sent to site_archiver@lists.apple.com