Home
last modified time | relevance | path

Searched refs:MAYBE_WAITERS (Results 1 - 9 of 9) sorted by relevance

/third_party/musl/src/stdio/
H A D__lockfile.c7 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 Dgetc.h9 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 Dputc.h9 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 Dftrylockfile.c35 if ((owner & ~MAYBE_WAITERS) == tid) { in ftrylockfile()
/third_party/musl/porting/liteos_m/kernel/src/internal/
H A Dstdio_impl.h69 #define MAYBE_WAITERS 0x40000000 macro
/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Dstdio_impl.h89 #define MAYBE_WAITERS 0x40000000 macro
/third_party/musl/porting/uniproton/kernel/src/internal/
H A Dstdio_impl.h69 #define MAYBE_WAITERS 0x40000000 macro
/third_party/musl/src/internal/
H A Dstdio_impl.h167 #define MAYBE_WAITERS 0x40000000 macro
/third_party/musl/porting/linux/user/src/internal/
H A Dstdio_impl.h163 #define MAYBE_WAITERS 0x40000000 macro

Completed in 3 milliseconds