Re: thread_t, uthread_t, at al.?
Re: thread_t, uthread_t, at al.?
- Subject: Re: thread_t, uthread_t, at al.?
- From: plumber Idraulico <email@hidden>
- Date: Fri, 27 Oct 2006 11:27:46 +0200
Kernel thread
#include <kern/thread.h>
#include <kern/thread_act.h>
#include <kern/thread_swap.h>
#include <mach/thread_status.h>
Can someone explain to me what thread_t is? I'm having a heckuva
time locating its definition. There's a method in the XNU sources
current_thread(), which returns a thread_t. You can call
get_bsdthread_info() to get a uthread_t. But I'd like to know more
about these threads.
Is there documentation somewhere? In particular, how can I get the
process ID owning a particular thread_t?
Thanks!
--
Rick
see osfmk src for examples
http://developer.apple.com/documentation/Darwin/Conceptual/
KernelProgramming/scheduler/chapter_8_section_5.html
Cheers
-plum
_______________________________________________
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