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