Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp118 FUTEX_LOCKED_CONTENDED = 2, // futex locking enumerator
133 old = mLock.exchange(FUTEX_LOCKED_CONTENDED); in lock()
136 (void) syscall(__NR_futex, &mLock, FUTEX_WAIT, FUTEX_LOCKED_CONTENDED, NULL, NULL, 0); in lock()
137 old = mLock.exchange(FUTEX_LOCKED_CONTENDED); in lock()
148 mLock.compare_exchange_strong(old, FUTEX_LOCKED_CONTENDED); in unlock()
259 while (mLock.exchange(FUTEX_LOCKED_CONTENDED)) { in wait()
260 (void) syscall(__NR_futex, &mLock, FUTEX_WAIT, FUTEX_LOCKED_CONTENDED, NULL, NULL, 0); in wait()