Lines Matching defs:ulwp

538 typedef struct ulwp {  struct
551 struct ulwp *ul_self; /* pointer to self */ argument
559 struct ulwp *ul_forw; /* forw, back all_lwps list, */ argument
560 struct ulwp *ul_back; /* protected by link_lock */ argument
561 struct ulwp *ul_next; /* list to keep track of stacks */ argument
562 struct ulwp *ul_hash; /* hash chain linked list */ argument
563 void *ul_rval; /* return value from thr_exit() */
564 caddr_t ul_stk; /* mapping base of the stack */
565 size_t ul_mapsiz; /* mapping size of the stack */
566 size_t ul_guardsize; /* normally _lpagesize */
567 uintptr_t ul_stktop; /* broken thr_stksegment() interface */
568 size_t ul_stksiz; /* broken thr_stksegment() interface */
569 stack_t ul_ustack; /* current stack boundaries */
570 int ul_ix; /* hash index */
571 lwpid_t ul_lwpid; /* thread id, aka the lwp id */
572 pri_t ul_pri; /* scheduling priority */
573 pri_t ul_epri; /* real-time ceiling priority */
574 char ul_policy; /* scheduling policy */
575 char ul_cid; /* scheduling class id */
576 union {
582 } ul_cp;
583 char ul_stop; /* reason for stopping */
584 char ul_signalled; /* this lwp was cond_signal()d */
585 char ul_dead; /* this lwp has called thr_exit */
586 char ul_unwind; /* posix: unwind C++ stack */
587 char ul_detached; /* THR_DETACHED at thread_create() */
589 char ul_writer; /* sleeping in rw_wrlock() */
590 char ul_stopping; /* set by curthread: stopping self */
591 char ul_cancel_prologue; /* for _cancel_prologue() */
592 short ul_preempt; /* no_preempt()/preempt() */
593 short ul_savpreempt; /* pre-existing preempt value */
594 char ul_sigsuspend; /* thread is in sigsuspend/pollsys */
595 char ul_main; /* thread is the main thread */
596 char ul_fork; /* thread is performing a fork */
597 char ul_primarymap; /* primary link-map is initialized */
599 uint8_t ul_max_spinners; /* thread_max_spinners */
600 char ul_door_noreserve; /* thread_door_noreserve */
601 char ul_queue_fifo; /* thread_queue_fifo */
602 char ul_cond_wait_defer; /* thread_cond_wait_defer */
603 char ul_error_detection; /* thread_error_detection */
604 char ul_async_safe; /* thread_async_safe */
605 char ul_rt; /* found on an RT queue */
606 char ul_rtqueued; /* was RT when queued */
607 char ul_misaligned; /* thread_locks_misaligned */
608 char ul_pad[3];
609 int ul_adaptive_spin; /* thread_adaptive_spin */
610 int ul_queue_spin; /* thread_queue_spin */
611 volatile int ul_critical; /* non-zero == in a critical region */
612 int ul_sigdefer; /* non-zero == defer signals */
613 int ul_vfork; /* thread is the child of vfork() */
614 int ul_cancelable; /* _cancelon()/_canceloff() */
615 char ul_cancel_pending; /* pthread_cancel() was called */
616 char ul_cancel_disabled; /* PTHREAD_CANCEL_DISABLE */
617 char ul_cancel_async; /* PTHREAD_CANCEL_ASYNCHRONOUS */
618 char ul_save_async; /* saved copy of ul_cancel_async */
642 struct ulwp *ul_link; /* sleep queue link */ argument
643 queue_head_t *ul_sleepq; /* sleep queue thread is waiting on */
644 mutex_t *ul_cvmutex; /* mutex dropped when waiting on a cv */
645 mxchain_t *ul_mxchain; /* chain of owned ceiling mutexes */
646 int ul_save_state; /* bind_guard() interface to ld.so.1 */
647 uint_t ul_rdlockcnt; /* # entries in ul_readlock array */
671 /* they are discarded when ulwp is replaced on thr_exit() */ argument
690 * This is the size of a replacement ulwp, retained only for the benefit argument
964 #define ulwp_mutex(ulwp, udp) \ argument
966 #define ulwp_condvar(ulwp, udp) \ argument
972 #define ulwp_lock(ulwp, udp) lmutex_lock(ulwp_mutex(ulwp, udp)) argument
973 #define ulwp_unlock(ulwp, udp) lmutex_unlock(ulwp_mutex(ulwp, udp)) argument
1223 #define real_priority(ulwp) \ argument