Searched defs:wait (Results 1 - 4 of 4) sorted by relevance

/system/extras/tests/bionic/libc/bionic/
H A Dtest_cond.c37 static pthread_cond_t wait = PTHREAD_COND_INITIALIZER; variable
44 pthread_cond_wait(&wait, &lock);
58 pthread_cond_signal(&wait);
/system/core/toolbox/
H A Dalarm.c23 int wait = 0; local
51 wait = 1;
150 if(wait) {
152 printf("wait for alarm %x\n", waitalarmmask);
155 fprintf(stderr, "alarm wait failed\n");
/system/core/include/utils/
H A DCondition.h40 * call wait(), then either re-wait() if things aren't quite what you want,
41 * or unlock the mutex and continue. All threads calling wait() must
60 status_t wait(Mutex& mutex);
105 inline status_t Condition::wait(Mutex& mutex) { function in class:android::Condition
/system/core/init/
H A Dbuiltins.c32 #include <sys/wait.h>
369 int wait = 0; local
380 if (!strcmp(args[n], "wait"))
381 wait = 1;
400 if (wait)
448 if (wait)
477 * process if anything goes wrong (crash or memory leak), and wait for

Completed in 100 milliseconds