Lines Matching defs:thread
101 #include <kern/thread.h>
220 thread_t thread;
223 /* we currently only support the current thread */
228 thread = current_thread();
229 ut = get_bsdthread_info(thread);
367 /* we currently only support the current thread */
439 thread_t thread;
445 thread = current_thread();
446 ut = get_bsdthread_info(thread);
449 /* turn off backgrounding of thread */
455 /* clear background bit in thread and disable disk IO throttle */
459 /* reset thread priority (we did not save previous value) */
461 thread_policy_set( thread, THREAD_PRECEDENCE_POLICY,
481 if ( sockp->so_background_thread != thread ) {
492 /* background this thread */
498 /* tag thread as background and throttle disk IO */
503 thread_policy_set( thread, THREAD_PRECEDENCE_POLICY,
508 * If UT_BACKGROUND is set in the current thread then
676 * Get the current thread's stack pointer...
1052 * Description: System call MUX for use in manipulating I/O policy attributes of the current process or thread
1065 thread_t thread = THREAD_NULL;
1083 thread = current_thread();
1084 ut = get_bsdthread_info(thread);