Home | History | Annotate | Download | only in tests

Lines Matching full:mutex

10 locking_thread (gpointer mutex)
12 g_mutex_lock ((GMutex*)mutex);
20 GMutex* mutex = g_mutex_new ();
21 g_mutex_lock (mutex);
22 g_mutex_lock (mutex);
28 GMutex* mutex = g_mutex_new ();
29 g_mutex_lock (mutex);
30 g_mutex_trylock (mutex);
36 GMutex* mutex = g_mutex_new ();
37 g_mutex_lock (mutex);
38 g_mutex_unlock (mutex);
39 g_mutex_unlock (mutex);
45 GMutex* mutex = g_mutex_new ();
46 g_mutex_lock (mutex);
47 g_mutex_free (mutex);
53 GMutex* mutex = g_mutex_new ();
55 g_cond_wait (cond, mutex);
61 GMutex* mutex = g_mutex_new ();
63 GThread* thread = g_thread_create (locking_thread, mutex, TRUE, NULL);
66 g_cond_wait (cond, mutex);
72 GMutex* mutex = g_mutex_new ();
74 g_cond_timed_wait (cond, mutex, NULL);
80 GMutex* mutex = g_mutex_new ();
82 GThread* thread = g_thread_create (locking_thread, mutex, TRUE, NULL);
85 g_cond_timed_wait (cond, mutex, NULL);
123 fprintf (stderr, "Usage: errorcheck-mutex-test [TEST]\n\n");