Lines Matching refs:pthr
100 Thread *pthr = (Thread *) arg; in func_nonrt() local
115 printf("Thread started %d on CPU %ld\n", pthr->priority, in func_nonrt()
117 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_nonrt()
118 printf("Thread running %d\n", pthr->priority); in func_nonrt()
124 pthr->priority, policy, schedp.sched_priority); in func_nonrt()
131 "pri %d\n", tid, pthr->priority, i, in func_nonrt()
135 pthr->id++; in func_nonrt()
137 pthread_mutex_lock(&(pthr->mutex)); in func_nonrt()
138 pthread_mutex_unlock(&(pthr->mutex)); in func_nonrt()
149 Thread *pthr = (Thread *) arg; in func_rt() local
164 printf("Thread started %d on CPU %ld\n", pthr->priority, in func_rt()
166 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_rt()
170 printf("Thread running %d\n", pthr->priority); in func_rt()
174 pthr->priority, policy, schedp.sched_priority); in func_rt()
187 tid, pthr->priority, i, policy, in func_rt()
191 pthr->id++; in func_rt()
193 pthread_mutex_lock(&(pthr->mutex)); in func_rt()
194 pthread_mutex_unlock(&(pthr->mutex)); in func_rt()
205 Thread *pthr = (Thread *) arg; in func_noise() local
220 printf("Noise Thread started %d on CPU %ld\n", pthr->priority, in func_noise()
222 pthread_getschedparam(pthr->pthread, &policy, &schedp); in func_noise()
226 printf("Noise Thread running %d\n", pthr->priority); in func_noise()
234 tid, pthr->priority, i, policy, in func_noise()
238 pthr->id++; in func_noise()
240 pthread_mutex_lock(&(pthr->mutex)); in func_noise()
241 pthread_mutex_unlock(&(pthr->mutex)); in func_noise()