Lines Matching defs:ulwp32
1000 typedef struct ulwp32 { struct
1002 uint32_t ul_dinstr; /* scratch space for dtrace */
1003 uint32_t ul_padsparc0[15];
1004 uint32_t ul_dsave; /* dtrace: save %g1, %g0, %sp */
1005 uint32_t ul_drestore; /* dtrace: restore %g0, %g0, %g0 */
1006 uint32_t ul_dftret; /* dtrace: return probe fasttrap */
1007 uint32_t ul_dreturn; /* dtrace: return %o0 */
1009 caddr32_t ul_self; /* pointer to self */
1011 uint8_t ul_dinstr[40]; /* scratch space for dtrace */
1013 caddr32_t ul_uberdata; /* uber (super-global) data */
1014 tls32_t ul_tls; /* dynamic thread-local storage base */
1015 caddr32_t ul_forw; /* forw, back all_lwps list, */
1016 caddr32_t ul_back; /* protected by link_lock */
1017 caddr32_t ul_next; /* list to keep track of stacks */
1018 caddr32_t ul_hash; /* hash chain linked list */
1019 caddr32_t ul_rval; /* return value from thr_exit() */
1020 caddr32_t ul_stk; /* mapping base of the stack */
1021 size32_t ul_mapsiz; /* mapping size of the stack */
1022 size32_t ul_guardsize; /* normally _lpagesize */
1023 caddr32_t ul_stktop; /* broken thr_stksegment() interface */
1024 size32_t ul_stksiz; /* broken thr_stksegment() interface */
1025 stack32_t ul_ustack; /* current stack boundaries */
1026 int ul_ix; /* hash index */
1027 lwpid_t ul_lwpid; /* thread id, aka the lwp id */
1028 pri_t ul_pri; /* scheduling priority */
1029 pri_t ul_epri; /* real-time ceiling priority */
1030 char ul_policy; /* scheduling policy */
1031 char ul_cid; /* scheduling class id */
1032 union {
1038 } ul_cp;
1039 char ul_stop; /* reason for stopping */
1040 char ul_signalled; /* this lwp was cond_signal()d */
1041 char ul_dead; /* this lwp has called thr_exit */
1042 char ul_unwind; /* posix: unwind C++ stack */
1043 char ul_detached; /* THR_DETACHED at thread_create() */
1045 char ul_writer; /* sleeping in rw_wrlock() */
1046 char ul_stopping; /* set by curthread: stopping self */
1047 char ul_cancel_prologue; /* for _cancel_prologue() */
1048 short ul_preempt; /* no_preempt()/preempt() */
1049 short ul_savpreempt; /* pre-existing preempt value */
1050 char ul_sigsuspend; /* thread is in sigsuspend/pollsys */
1051 char ul_main; /* thread is the main thread */
1052 char ul_fork; /* thread is performing a fork */
1053 char ul_primarymap; /* primary link-map is initialized */
1055 uint8_t ul_max_spinners; /* thread_max_spinners */
1056 char ul_door_noreserve; /* thread_door_noreserve */
1057 char ul_queue_fifo; /* thread_queue_fifo */
1058 char ul_cond_wait_defer; /* thread_cond_wait_defer */
1059 char ul_error_detection; /* thread_error_detection */
1060 char ul_async_safe; /* thread_async_safe */
1061 char ul_rt; /* found on an RT queue */
1062 char ul_rtqueued; /* was RT when queued */
1063 char ul_misaligned; /* thread_locks_misaligned */
1064 char ul_pad[3];
1065 int ul_adaptive_spin; /* thread_adaptive_spin */
1066 int ul_queue_spin; /* thread_queue_spin */
1067 int ul_critical; /* non-zero == in a critical region */
1068 int ul_sigdefer; /* non-zero == defer signals */
1069 int ul_vfork; /* thread is the child of vfork() */
1070 int ul_cancelable; /* _cancelon()/_canceloff() */
1071 char ul_cancel_pending; /* pthread_cancel() was called */
1072 char ul_cancel_disabled; /* PTHREAD_CANCEL_DISABLE */
1073 char ul_cancel_async; /* PTHREAD_CANCEL_ASYNCHRONOUS */
1074 char ul_save_async; /* saved copy of ul_cancel_async */
1075 char ul_mutator; /* lwp is a mutator (java interface) */
1076 char ul_created; /* created suspended */
1077 char ul_replace; /* replacement; must be free()d */
1078 uchar_t ul_nocancel; /* cancellation can't happen */
1079 int ul_errno; /* per-thread errno */
1080 caddr32_t ul_errnop; /* pointer to errno or self->ul_errno */
1081 caddr32_t ul_clnup_hdr; /* head of cleanup handlers list */
1082 caddr32_t ul_schedctl_called; /* ul_schedctl is set up */
1083 caddr32_t ul_schedctl; /* schedctl data */
1084 int ul_bindflags; /* bind_guard() interface to ld.so.1 */
1085 uint_t ul_libc_locks; /* count of cancel_safe_mutex_lock()s */
1086 caddr32_t ul_stsd; /* slow TLS for keys >= TSD_NFAST */
1087 caddr32_t ul_ftsd[TSD_NFAST]; /* fast TLS for keys < TSD_NFAST */
1088 td_evbuf32_t ul_td_evbuf; /* event buffer */
1089 char ul_td_events_enable; /* event mechanism enabled */
1090 char ul_sync_obj_reg; /* tdb_sync_obj_register() */
1091 char ul_qtype; /* MX or CV */
1092 char ul_cv_wake; /* != 0: just wake up, don't requeue */
1093 int ul_rtld; /* thread is running inside ld.so.1 */
1094 int ul_usropts; /* flags given to thr_create() */
1095 caddr32_t ul_startpc; /* start func (thr_create()) */
1096 caddr32_t ul_startarg; /* argument for start function */
1097 caddr32_t ul_wchan; /* synch object when sleeping */
1098 caddr32_t ul_link; /* sleep queue link */
1099 caddr32_t ul_sleepq; /* sleep queue thread is waiting on */
1100 caddr32_t ul_cvmutex; /* mutex dropped when waiting on a cv */
1101 caddr32_t ul_mxchain; /* chain of owned ceiling mutexes */
1102 int ul_save_state; /* bind_guard() interface to ld.so.1 */
1103 uint_t ul_rdlockcnt; /* # entries in ul_readlock array */
1105 union { /* single entry or pointer to array */
1108 } ul_readlock;
1109 uint_t ul_heldlockcnt; /* # entries in ul_heldlocks array */
1111 union { /* single entry or pointer to array */
1114 } ul_heldlocks;
1138 } ulwp32_t; argument