Home | History | Annotate | Download | only in pi_test

Lines Matching defs:mutex

12  * TL thread with lower priority 1 is created, which locks a mutex and
14 * created and try to lock TL's mutex. One TP1 and one TP2 thread with priority
25 * 3. Create 1 TL thread to lock a mutex. TL will get a chance to run
27 * 4. Create 1 TB1 thread with higher priority than TP1 to lock the mutex.
30 * 5. Create 1 TB2 thread with higher priority than TP2 to lock the mutex,
52 pthread_mutex_t mutex;
155 pthread_mutex_lock(&mutex);
159 pthread_mutex_unlock(&mutex);
215 rc = pthread_mutex_timedlock(&mutex, &boost_time);
244 rc = pthread_mutex_timedlock(&mutex, &boost_time);
271 /* Initialize a mutex with PTHREAD_PRIO_INHERIT protocol */
273 mutex_init(&mutex, &mutex_attr);