Lines Matching defs:thread
137 pthread_t thread;
138 int result = pthread_create(&thread, &attr,
148 *threadId = (android_thread_id_t)thread; // XXX: this is not portable
180 LOG(LOG_VERBOSE, "thread", "thread exiting\n");
185 * Create and run a new thread.
207 LOG(LOG_WARN, "thread", "WARNING: thread create failed\n");
385 LOG(LOG_WARN, "thread", "WARNING: bad result from unlocking mutex\n");
394 LOG(LOG_WARN, "thread", "WARNING: bad result from try-locking mutex\n");
437 // An auto-reset event used by the broadcast/signal thread to wait
438 // for all the waiting thread(s) to wake up and be released from
488 // If we're the last waiter thread during this particular broadcast
495 // any thread has a chance to run. Without it, another thread
564 * Signal the condition variable, allowing one thread to continue.
639 * This is our thread object!
665 // thread already started
698 // Do not refer to mStatus here: The thread is already running (may, in fact
700 // here merely indicates successfully starting the thread and does not
729 // (unless, of course, the thread has already been asked to exit
734 // the thread and the thread would simply disappear after the
752 // Release our strong reference, to let a chance to the thread
772 "Thread object's thread. It's a guaranteed deadlock!",