Searched defs:wait (Results 1 - 3 of 3) 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/init/
H A Dbuiltins.c32 #include <sys/wait.h>
370 int wait = 0; local
381 if (!strcmp(args[n], "wait"))
382 wait = 1;
401 if (wait)
449 if (wait)
477 * process if anything goes wrong (crash or memory leak), and wait for

Completed in 724 milliseconds