Home | History | Annotate | Download | only in src

Lines Matching refs:state

43     int volatile state;
59 int volatile state;
76 if (__bionic_cmpxchg(0, pending, &gv->state) == 0) {
80 __bionic_cmpxchg(pending, waiting, &gv->state); // Indicate there is a waiter
81 __futex_wait(&gv->state, waiting, NULL);
83 if (gv->state != ready) // __cxa_guard_abort was called, let every thread try since there is no return code for this condition
96 if (__bionic_cmpxchg(pending, ready, &gv->state) == 0) {
100 gv->state = ready;
101 __futex_wake(&gv->state, 0x7fffffff);
107 gv->state= 0;
108 __futex_wake(&gv->state, 0x7fffffff);