Home
last modified time | relevance | path

Searched refs:thread_t (Results 1 – 25 of 102) sorted by relevance

12345

/onnv-gate/usr/src/head/
H A Dthread.h49 typedef unsigned int thread_t; typedef
57 thread_t *);
58 extern int thr_join(thread_t, thread_t *, void **);
62 extern thread_t thr_self(void);
83 extern int thr_kill(thread_t, int);
84 extern int thr_suspend(thread_t);
85 extern int thr_continue(thread_t);
87 extern int thr_setprio(thread_t, int);
88 extern int thr_getprio(thread_t, int *);
102 extern thread_t thr_self();
H A Dapptrace_impl.h57 extern thread_t (*abi_thr_self)(void);
69 extern thread_t (*abi_thr_self)();
/onnv-gate/usr/src/uts/intel/ia32/ml/
H A Dswtch.s90 #define SAVE_REGS(thread_t, retaddr) \ argument
91 movq %rbp, T_RBP(thread_t); \
92 movq %rbx, T_RBX(thread_t); \
93 movq %r12, T_R12(thread_t); \
94 movq %r13, T_R13(thread_t); \
95 movq %r14, T_R14(thread_t); \
96 movq %r15, T_R15(thread_t); \
99 movq %rsp, T_SP(thread_t); \
100 movq retaddr, T_PC(thread_t); \
126 #define GET_THREAD_HATP(hatp, thread_t, scratch_reg) \ argument
[all …]
/onnv-gate/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c47 static volatile thread_t locktid = NOTID;
63 thread_t tid; in abilock()
82 thread_t tid; in abiunlock()
/onnv-gate/usr/src/cmd/vntsd/
H A Dvntsd.h267 thread_t cons_tid; /* console thread */
283 thread_t wr_tid; /* write thread */
301 thread_t listen_tid; /* listen thread */
331 thread_t tid; /* main thread id */
343 thread_t tid; /* thread tid */
467 void vntsd_reset_timer(thread_t tid);
H A Dvntsd.c157 reset_timeout(vntsd_timeout_t *tmop, thread_t tid) in reset_timeout()
167 vntsd_reset_timer(thread_t tid) in vntsd_reset_timer()
186 static thread_t main_thread = 0; in vntsd_alarm_sig_handler()
/onnv-gate/usr/src/lib/libumem/common/
H A Dumem_base.h49 extern thread_t umem_init_thr; /* the thread doing the init */
68 extern volatile thread_t umem_st_update_thr;
69 extern thread_t umem_update_thr;
H A Dstub_stand.c72 thread_t
75 return ((thread_t)1); in thr_self()
/onnv-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c94 thread_t tid; in svcblock()
175 thread_t tid; in svcrdma()
198 thread_t tid; in svcwait()
/onnv-gate/usr/src/lib/libsldap/common/
H A Dns_connmgmt.h102 thread_t tid; /* id of the thread starts the request */
151 thread_t tid; /* thread creates the connection */
217 thread_t procchg_tid; /* id of the change monitor thread */
/onnv-gate/usr/src/lib/libc/port/threads/
H A Dthr.c492 find_lwpp(thread_t tid) in find_lwpp()
532 find_lwp(thread_t tid) in find_lwp()
556 long flags, thread_t *new_thread, size_t guardsize) in _thrp_create()
562 thread_t tid; in _thrp_create()
719 long flags, thread_t *new_thread) in thr_create()
977 _thrp_join(thread_t tid, thread_t *departed, void **status, int do_cancel) in _thrp_join()
982 thread_t found; in _thrp_join()
1064 thr_join(thread_t tid, thread_t *departed, void **status) in thr_join()
1730 thread_t
1814 thread_t tid = ulwp->ul_lwpid; in safe_suspend()
[all …]
H A Dpthread.c230 thr_getprio(thread_t tid, int *priority) in thr_getprio()
253 thr_setprio(thread_t tid, int prio) in thr_setprio()
/onnv-gate/usr/src/lib/libldap4/include/
H A Dlthread.h31 typedef thread_t pthread_t;
82 typedef thread_t pthread_t;
/onnv-gate/usr/src/lib/libzpool/common/
H A Dtaskq.c45 thread_t *tq_threadlist;
222 tq->tq_threadlist = kmem_alloc(nthreads * sizeof (thread_t), KM_SLEEP); in taskq_create()
265 kmem_free(tq->tq_threadlist, nthreads * sizeof (thread_t)); in taskq_destroy()
285 if (tq->tq_threadlist[i] == (thread_t)(uintptr_t)t) in taskq_member()
/onnv-gate/usr/src/lib/libumem/common/sys/
H A Dvmem_impl_user.h63 thread_t vs_thread;
143 thread_t vmpl_thr;
/onnv-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_change.c54 thread_t tid; /* main nscd tid */
116 waiting_list_add(chg_info_t *info, pid_t pid, thread_t tid, in waiting_list_add()
150 waiting_list_delete(chg_info_t *info, thread_t tid) in waiting_list_delete()
185 waiting_list_cleanup(chg_info_t *chg, thread_t tid) in waiting_list_cleanup()
260 thread_t this_tid = thr_self(); in chg_get_statusChange()
/onnv-gate/usr/src/lib/libtnfctl/
H A Dinternal.c278 static thread_t lock_holder = 0; /* XXX - no tid with 0 */
307 thread_t tid; in NOTE()
355 thread_t tid; in _tnfctl_dlopen()
/onnv-gate/usr/src/cmd/sgs/rtld/common/
H A Dexternal.c501 thread_t
504 thread_t (*fptr)(void); in rt_thr_self()
506 if ((fptr = (thread_t (*)())glcs[CI_THR_SELF].lc_un.lc_func) != NULL) in rt_thr_self()
/onnv-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c152 thread_t watch_thread; in dm_init_event_queue()
170 thread_t watch_thread; in dm_init_event_queue()
442 thread_t walk_thread; in walk_devtree()
/onnv-gate/usr/src/lib/libc/inc/
H A Dlibc.h65 extern int thr_kill(thread_t tid, int sig);
66 extern thread_t thr_self(void);
/onnv-gate/usr/src/lib/libmtmalloc/tests/
H A Dgeneral.c48 thread_t tid[512]; /* We'll never have more than that! hah */ in main()
H A Dexhaust.c50 thread_t tid[512]; in main()
/onnv-gate/usr/src/lib/libc/sparc/threads/
H A Dmachdep.c33 extern int getlwpstatus(thread_t, lwpstatus_t *);
34 extern int putlwpregs(thread_t, prgregset_t);
/onnv-gate/usr/src/lib/libc/amd64/threads/
H A Dmachdep.c32 extern int getlwpstatus(thread_t, lwpstatus_t *);
33 extern int putlwpregs(thread_t, prgregset_t);
/onnv-gate/usr/src/cmd/nscd/
H A Dnscd_switch.h97 thread_t tid;
139 thread_t thr_id;

12345