Searched refs:MAYBE_WAITERS (Results 1 - 9 of 9) sorted by relevance
/third_party/musl/src/stdio/ |
H A D | __lockfile.c | 7 if ((owner & ~MAYBE_WAITERS) == tid) in __lockfile() 11 while ((owner = a_cas(&f->lock, 0, tid|MAYBE_WAITERS))) { in __lockfile() 12 if ((owner & MAYBE_WAITERS) || in __lockfile() 13 a_cas(&f->lock, owner, owner|MAYBE_WAITERS)==owner) in __lockfile() 14 __futexwait(&f->lock, owner|MAYBE_WAITERS, 1); in __lockfile() 21 if (a_swap(&f->lock, 0) & MAYBE_WAITERS) in __unlockfile()
|
H A D | getc.h | 9 if (a_cas(&f->lock, 0, MAYBE_WAITERS-1)) __lockfile(f); in locking_getc() 11 if (a_swap(&f->lock, 0) & MAYBE_WAITERS) in locking_getc() 19 if (l < 0 || l && (l & ~MAYBE_WAITERS) == __pthread_self()->tid) in do_getc()
|
H A D | putc.h | 9 if (a_cas(&f->lock, 0, MAYBE_WAITERS-1)) __lockfile(f); in locking_putc() 11 if (a_swap(&f->lock, 0) & MAYBE_WAITERS) in locking_putc() 19 if (l < 0 || l && (l & ~MAYBE_WAITERS) == __pthread_self()->tid) in do_putc()
|
H A D | ftrylockfile.c | 35 if ((owner & ~MAYBE_WAITERS) == tid) { in ftrylockfile()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A D | stdio_impl.h | 69 #define MAYBE_WAITERS 0x40000000 macro
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
H A D | stdio_impl.h | 89 #define MAYBE_WAITERS 0x40000000 macro
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
H A D | stdio_impl.h | 69 #define MAYBE_WAITERS 0x40000000 macro
|
/third_party/musl/src/internal/ |
H A D | stdio_impl.h | 167 #define MAYBE_WAITERS 0x40000000 macro
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | stdio_impl.h | 163 #define MAYBE_WAITERS 0x40000000 macro
|
Completed in 3 milliseconds