Searched refs:sync_add_and_fetch (Results 1 – 1 of 1) sorted by relevance
27 int sync_add_and_fetch(int* p, int i) in sync_add_and_fetch() function40 (void) sync_add_and_fetch(&s_x, 1); in thread_func_1()46 while (sync_add_and_fetch(&s_x, 0) == 0) in thread_func_2()