Lines Matching full:wait
469 * have to wait for the GC to finish. Therefore it's important that the
692 * to exit, so don't wait for too long.
1458 * We need to wait for the thread to start. Otherwise, depending on
1492 * - put self into THREAD_VMWAIT so GC doesn't wait for us
1524 * One alternative to having the child wait for the parent would be
1612 * Wait until the parent says we can go. Assuming there wasn't a
1621 * wait for us to suspend. We'll be in the tail end of pthread_cond_wait
1635 * Change our state so the GC will wait for us from now on. If a GC is
1800 * Wait for the child to start. This gives us an opportunity to make
1808 * loop will correctly avoid the wait if this occurs.
1810 * It's also possible that we'll have to wait for the thread to finish
1989 * to wait for us.
2223 * Thread.join() is implemented as an Object.wait() on the VMThread
2236 * profiling is enabled, since we can wait indefinitely.
2417 //LOGI("threadid=%d: clearing wait-for-event (my handle=%08x)\n",
2580 * Wait for another thread to see the pending suspension and stop running.
2768 * Wait for everybody in THREAD_RUNNING state to stop. Other states
2790 /* wait for the other thread to see the pending suspend */
2888 * which may choose to wake up. No need to wait for them.
2938 * which may choose to wake up. No need to wait for them.
2978 * Wait until another thread self-suspends. This is specifically for
2990 * it's important that we not be in THREAD_RUNNING while we wait.)
3037 /* wait for wakeup signal; releases lock */
3080 * If we're in RUNNING it will wait for us, and we'll be waiting
3396 case THREAD_WAIT: return "WAIT";
3570 * suspended (or are in a non-interpreting state, e.g. WAIT or NATIVE).
3637 usleep(2 * 1000 * 1000); // TODO: timed-wait until debuggerd attaches
3640 usleep(8 * 1000 * 1000); // TODO: timed-wait until debuggerd finishes
4020 * any harm (e.g. in Object.wait()). The only exception is the current