Function - Return information about a thread.
[in thread send right]
The thread for which the information is to be
The type of information to be returned. Valid values are:
Returns basic information about the thread, such as the
thread's run state and suspend count. The returned structure is
Returns FIFO scheduling policy information about the thread.
The returned structure is policy_fifo_info.
Returns round-robin scheduling policy information about the
thread. The returned structure is policy_rr_info.
Returns timeshare scheduling policy information about the
thread. The returned structure is policy_timeshare_info.
Information about the specified thread.
On input, the maximum size of the buffer; on output, the
size returned (in natural-sized units).
The thread_info function returns an information structure
of type flavor.
At any given time, a thread has only one scheduling policy in
effect for it. Thus,
only one of the scheduling information structures will be valid,
that so indicated
by the policy value returned by THREAD_BASIC_INFO.
Only generic errors apply.