Changeset View
Changeset View
Standalone View
Standalone View
lib/libthr/thread/thr_private.h
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | #define TID_TERMINATED 1 | ||||
* Set to non-zero when this thread has entered a critical | * Set to non-zero when this thread has entered a critical | ||||
* region. We allow for recursive entries into critical regions. | * region. We allow for recursive entries into critical regions. | ||||
*/ | */ | ||||
int critical_count; | int critical_count; | ||||
/* Signal blocked counter. */ | /* Signal blocked counter. */ | ||||
int sigblock; | int sigblock; | ||||
/* Fast sigblock var. */ | |||||
uint32_t fsigblock; | |||||
/* Queue entry for list of all threads. */ | /* Queue entry for list of all threads. */ | ||||
TAILQ_ENTRY(pthread) tle; /* link for all threads in process */ | TAILQ_ENTRY(pthread) tle; /* link for all threads in process */ | ||||
/* Queue entry for GC lists. */ | /* Queue entry for GC lists. */ | ||||
TAILQ_ENTRY(pthread) gcle; | TAILQ_ENTRY(pthread) gcle; | ||||
/* Hash queue entry. */ | /* Hash queue entry. */ | ||||
LIST_ENTRY(pthread) hle; | LIST_ENTRY(pthread) hle; | ||||
▲ Show 20 Lines • Show All 401 Lines • ▼ Show 20 Lines | |||||
void _thread_vprintf(int, const char *, va_list) __hidden; | void _thread_vprintf(int, const char *, va_list) __hidden; | ||||
void _thr_spinlock_init(void) __hidden; | void _thr_spinlock_init(void) __hidden; | ||||
void _thr_cancel_enter(struct pthread *) __hidden; | void _thr_cancel_enter(struct pthread *) __hidden; | ||||
void _thr_cancel_enter2(struct pthread *, int) __hidden; | void _thr_cancel_enter2(struct pthread *, int) __hidden; | ||||
void _thr_cancel_leave(struct pthread *, int) __hidden; | void _thr_cancel_leave(struct pthread *, int) __hidden; | ||||
void _thr_testcancel(struct pthread *) __hidden; | void _thr_testcancel(struct pthread *) __hidden; | ||||
void _thr_signal_block(struct pthread *) __hidden; | void _thr_signal_block(struct pthread *) __hidden; | ||||
void _thr_signal_unblock(struct pthread *) __hidden; | void _thr_signal_unblock(struct pthread *) __hidden; | ||||
void _thr_signal_block_check_fast(void) __hidden; | |||||
void _thr_signal_block_setup(struct pthread *) __hidden; | |||||
void _thr_signal_init(int) __hidden; | void _thr_signal_init(int) __hidden; | ||||
void _thr_signal_deinit(void) __hidden; | void _thr_signal_deinit(void) __hidden; | ||||
int _thr_send_sig(struct pthread *, int sig) __hidden; | int _thr_send_sig(struct pthread *, int sig) __hidden; | ||||
void _thr_list_init(void) __hidden; | void _thr_list_init(void) __hidden; | ||||
void _thr_hash_add(struct pthread *) __hidden; | void _thr_hash_add(struct pthread *) __hidden; | ||||
void _thr_hash_remove(struct pthread *) __hidden; | void _thr_hash_remove(struct pthread *) __hidden; | ||||
struct pthread *_thr_hash_find(struct pthread *) __hidden; | struct pthread *_thr_hash_find(struct pthread *) __hidden; | ||||
void _thr_link(struct pthread *, struct pthread *) __hidden; | void _thr_link(struct pthread *, struct pthread *) __hidden; | ||||
▲ Show 20 Lines • Show All 276 Lines • Show Last 20 Lines |