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 * to lock TL's mutex. A TP thread with priority 2 is created to reflect the
25 * 3. Create 1 TL thread to lock a mutex. TL will get a chance to run
27 * 4. Create 1 TB thread to lock the mutex. TL's priority will boost to
29 * 5. TL will unlock the mutex, TL's priority will decrease, so TP and TL
51 pthread_mutex_t mutex;
158 pthread_mutex_lock(&mutex);
162 rc = pthread_mutex_unlock(&mutex);
166 "#EVENT %f TL unlock the mutex\n",
170 ("UNRESOLVED: TL failed to unlock mutex: %d %s",
231 rc = pthread_mutex_lock(&mutex);
242 rc = pthread_mutex_unlock(&mutex);
268 /* Initialize a mutex with PTHREAD_PRIO_INHERIT protocol */
270 mutex_init(&mutex, &mutex_attr);