Home
last modified time | relevance | path

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

/system/media/audio_utils/
Dfifo_index.cpp54 int audio_utils_fifo_index::wake(int op, int waiters) in wake() argument
56 return sys_futex(&mIndex, op, waiters, NULL, NULL, 0); in wake()
94 void RefIndexDeferredStoreReleaseDeferredWake::wakeDeferred(int op, int waiters)
96 if (waiters <= 0) {
103 if (waiters < INT_MAX - mWaiters) {
104 mWaiters += waiters;
119 void RefIndexDeferredStoreReleaseDeferredWake::wakeNow(int op, int waiters)
121 wakeDeferred(op, waiters);
/system/media/audio_utils/include/audio_utils/
Dfifo_index.h91 int wake(int op, int waiters = 1);
143 void wakeDeferred(int op, int waiters = 1);
146 void wakeNow(int op, int waiters = 1);