Searched refs:mtsafe_call_counter (Results 1 – 1 of 1) sorted by relevance
30 static int mtsafe_call_counter = 0; /* multi thread safe call counter, must be accessed atomically … variable44 g_atomic_int_add (&mtsafe_call_counter, 1); /* real call count update */ in call_counter_init()133 while (g_atomic_int_get (&mtsafe_call_counter) < (3 + 3 + 3 * 3) * NUM_COUNTER_INCREMENTS)136 g_printerr ("Initializers counted: %u\n", g_atomic_int_get (&mtsafe_call_counter));140 g_printerr ("Total initializers: %u\n", g_atomic_int_get (&mtsafe_call_counter));142 g_assert_cmpint (g_atomic_int_get (&mtsafe_call_counter), ==, unsafe_call_counter);