• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching defs:thread

106 #include <kern/thread.h>
183 static void psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum);
614 execsigs(proc_t p, thread_t thread)
620 ut = (struct uthread *)get_bsdthread_info(thread);
633 if (thread){
644 /* thread */
815 /* if the thread is in vfork do not cancel */
828 * if marked for cancellation, make the thread canceled
836 thread_act_t thread;
840 thread = current_thread();
841 uth = (struct uthread *)get_bsdthread_info(thread);
852 /* if the thread is in vfork do not cancel */
1082 /* The signal was pending on a thread */
1119 /* Clear the pending signal in the thread it was delivered */
1428 * Send a signal caused by a trap to a specific thread.
1519 psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum)
1551 sig_thread = thread;
1554 sig_task = get_threadtask(thread);
1555 sig_thread = thread;
1560 sig_thread = (struct thread *)0;
1567 * do not send signals to the process that has the thread
1568 * doing a reboot(). Not doing so will mark that thread aborted
1584 * Deliver the signal to the first thread in the task. This
1587 * an implicit reference to the current thread, but need
1588 * an explicit one otherwise. The thread reference keeps
1742 * Wake up the thread, but don't un-suspend it
1757 * signalled process/thread sigaction handler, when it
1943 * Wake up the thread if it is interruptible.
1969 psignal_vfork(proc_t p, task_t new_task, thread_t thread, int signum)
1971 psignal_internal(p, new_task, thread, PSIG_VFORK, signum);
1975 psignal_uthread(thread_t thread, int signum)
1977 psignal_internal(PROC_NULL, TASK_NULL, thread, PSIG_THREAD, signum);
2139 * Since this thread will be resumed
2632 bsd_ast(thread_t thread)
2635 struct uthread *ut = get_bsdthread_info(thread);