THREAD_INHIBIT(3T) SysV THREAD_INHIBIT(3T)
NAME
thread_inhibit, thread_enable - increment and decrement the inhibit count
SYNOPSIS
include <apollo/thread.h>
void thread_inhibit(void)
void thread_enable(void)
DESCRIPTION
The thread_inhibit and thread_enable calls increment and decrement the
inhibit count for the current thread. While the inhibit count is not 0,
the thread may not receive termination or cleanup requests, may not be
suspended, may not receive UNIX system signals if it is the signal-
handling thread, and may not have its register state read or set.
The Domain/OS calls pfm_$inhibit and pfm_$enable are mapped onto
thread_inhibit and thread_enable. Refer to the Domain/OS Call Reference
for more information on pfm_$inhibit and pfm_$enable
SEE ALSO
thread_create(3T), thread_terminate(3T), thread_suspend(3T),
thread_resume(3T), thread_abort(3T), thread_self(3T), thread_info(3T),
thread_state(3T), thread_set_priority(3T), thread_handle_signals(3T),
thread_cleanup(3T), thread_startup(3T), threadp_init(3T),
threadp_set(3T), threadp_get(3T).
Section (3P) pthread calls (IEEE P1003.4a) calls
Domain System Software Release Notes, Software Release 10.4
NOTES
This call is one of the set of Domain/OS extensions to the Mach thread
interface.
This call is provided solely for compatibility with the Mach operating
system. New applications should use the Pthread interface instead.