What is the equivalent of pthread_join() for a kernel thread?
I am using IOThreadCreate() to create a new thread. At some later
I indicate to that thread to stop. How do I detect that the thread
You don't. The kernel doesn't exit, so typically your thread signals
a condition to acknowledge the request and then terminates.
If you know the thread's safely asleep without state, and you have
arranged accordingly beforehand, you can just terminate it out of hand.
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