Home
last modified time | relevance | path

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

/external/harfbuzz_ng/src/
Dhb-mutex-private.hh81 # define HB_SCHED_YIELD() sched_yield () macro
83 # define HB_SCHED_YIELD() HB_STMT_START {} HB_STMT_END macro
90 …mpl_lock(M) HB_STMT_START { while (__sync_lock_test_and_set((M), 1)) HB_SCHED_YIELD (); } HB_STMT_…
99 # define HB_SCHED_YIELD() sched_yield () macro
101 # define HB_SCHED_YIELD() HB_STMT_START {} HB_STMT_END macro
108 #define hb_mutex_impl_lock(M) HB_STMT_START { while (*(M)) HB_SCHED_YIELD (); (*(M))++; } HB_STMT_E…