Lines Matching refs:tid

50 _thr_setinherit(pthread_t tid, int inherit)  in _thr_setinherit()  argument
55 if ((ulwp = find_lwp(tid)) == NULL) { in _thr_setinherit()
66 _thr_setparam(pthread_t tid, int policy, int prio) in _thr_setparam() argument
72 if ((ulwp = find_lwp(tid)) == NULL) { in _thr_setparam()
86 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) { in _thr_setparam()
114 pthread_t tid; in pthread_create() local
131 flag, &tid, ap->guardsize, ap->name); in pthread_create()
138 (void) _thr_setinherit(tid, ap->inherit); in pthread_create()
149 error = _thr_setparam(tid, ap->policy, ap->prio); in pthread_create()
159 ulwp_t *ulwp = find_lwp(tid); in pthread_create()
163 (void) __lwp_detach(tid); in pthread_create()
169 *thread = tid; in pthread_create()
171 (void) thr_continue(tid); in pthread_create()
230 pthread_getschedparam(pthread_t tid, int *policy, struct sched_param *param) in pthread_getschedparam() argument
236 if ((ulwp = find_lwp(tid)) == NULL) { in pthread_getschedparam()
265 thr_getprio(thread_t tid, int *priority) in thr_getprio() argument
271 if ((error = pthread_getschedparam(tid, &policy, &param)) == 0) in thr_getprio()
280 pthread_setschedparam(pthread_t tid, in pthread_setschedparam() argument
283 return (_thr_setparam(tid, policy, param->sched_priority)); in pthread_setschedparam()
288 thr_setprio(thread_t tid, int prio) in thr_setprio() argument
298 if ((error = pthread_getschedparam(tid, &policy, &param)) != 0) in thr_setprio()
302 return (_thr_setparam(tid, policy, prio)); in thr_setprio()