Lines Matching refs:priority
11 * one. TFs are used to keep busy these CPUs, which have priority 3. A
12 * TL thread with lower priority 1 is created, which locks a mutex and
13 * does workload. One TB1 and one TB2 thread with higher priority 4, 6 are
14 * created and try to lock TL's mutex. One TP1 and one TP2 thread with priority
15 * 2, 5 are created to reflect the priority change of TL. Main thread
16 * has the highest priority 8, which will control the running steps of
18 * another thread to collect the sample data with priority 7.
27 * 4. Create 1 TB1 thread with higher priority than TP1 to lock the mutex.
28 * TL's priority will boost to TB1's priority, which will cause TP1 having
30 * 5. Create 1 TB2 thread with higher priority than TP2 to lock the mutex,
31 * TL's priority will boost to TB2's priority, which wll cause TP2 having
59 int priority;
108 test_set_priority(pthread_self(), SCHED_FIFO, tp->priority);
138 test_set_priority(pthread_self(),SCHED_FIFO, tp->priority);