clear_wait() using thread address
clear_wait() using thread address
- Subject: clear_wait() using thread address
- From: "Vishal Shetye" <email@hidden>
- Date: Fri, 7 Dec 2007 16:39:53 +0530
Hi,
I've written a KEXT, wherein a thread, sleeping on wait_queue is invoked by
another thread using clear_wait(). For this I keep a global thread safe
structure for storing thread's address.
What I want to know is,
* Is there a possibility that my thread reference may become invalid,
because of kernel's internal memory movement (such as to defragment, I'm
just guessing)?
* Is there a way of invoking selected process from wait_queue by its pid
(like wake_up_process() in case of linux).
thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden