Home
last modified time | relevance | path

Searched refs:unsafe_call_counter (Results 1 – 1 of 1) sorted by relevance

/third_party/glib/gobject/tests/
Dthreadtests.c31 static int unsafe_call_counter = 0; /* single-threaded call counter */ variable
43 int saved_unsafe_call_counter = unsafe_call_counter; in call_counter_init()
46 unsafe_call_counter = 1 + saved_unsafe_call_counter; /* non-atomic counter update */ in call_counter_init()
142 g_assert_cmpint (g_atomic_int_get (&mtsafe_call_counter), ==, unsafe_call_counter);