Searched refs:sync_mutex (Results 1 – 3 of 3) sorted by relevance
35 static pthread_mutex_t sync_mutex = PTHREAD_MUTEX_INITIALIZER; variable42 pthread_mutex_lock(&sync_mutex); in __sync_add_and_fetch_8()45 pthread_mutex_unlock(&sync_mutex); in __sync_add_and_fetch_8()55 pthread_mutex_lock(&sync_mutex); in __sync_sub_and_fetch_8()58 pthread_mutex_unlock(&sync_mutex); in __sync_sub_and_fetch_8()68 pthread_mutex_lock(&sync_mutex); in __sync_val_compare_and_swap_8()72 pthread_mutex_unlock(&sync_mutex); in __sync_val_compare_and_swap_8()
33 static GMutex sync_mutex; variable105 g_mutex_lock (&sync_mutex);106 g_mutex_unlock (&sync_mutex);124 g_mutex_lock (&sync_mutex);132 g_mutex_unlock (&sync_mutex);179 g_mutex_lock (&sync_mutex); in prop_tester_class_init()181 g_mutex_unlock (&sync_mutex); in prop_tester_class_init()208 g_mutex_lock (&sync_mutex); in test_threaded_object_init()212 g_cond_wait (&sync_cond, &sync_mutex); in test_threaded_object_init()215 g_mutex_unlock (&sync_mutex); in test_threaded_object_init()
28 static GMutex sync_mutex; variable174 g_mutex_lock (&sync_mutex); in ref_unref_thread()175 g_mutex_unlock (&sync_mutex); in ref_unref_thread()211 g_mutex_lock (&sync_mutex); in test_multithreaded_dynamic_type_init()219 g_mutex_unlock (&sync_mutex); in test_multithreaded_dynamic_type_init()