Home | History | Annotate | Download | only in src

Lines Matching refs:Thread

63 // 0 is never a valid thread id on FreeBSD since tids and pids share a
394 class Thread::PlatformData : public Malloced {
396 pthread_t thread_; // Thread handle for pthread.
425 Thread::Thread(Isolate* isolate, const Options& options)
433 Thread::Thread(Isolate* isolate, const char* name)
441 Thread::~Thread() {
447 Thread* thread = reinterpret_cast<Thread*>(arg);
449 // don't know which thread will run first (the original thread or the new
452 ASSERT(thread->IsValid());
453 Thread::SetThreadLocal(Isolate::isolate_key(), thread->isolate());
454 thread->Run();
459 void Thread::set_name(const char* name) {
465 void Thread::Start() {
478 void Thread::Join() {
483 Thread::LocalStorageKey Thread::CreateThreadLocalKey() {
492 void Thread::DeleteThreadLocalKey(LocalStorageKey key) {
500 void* Thread::GetThreadLocal(LocalStorageKey key) {
506 void Thread::SetThreadLocal(LocalStorageKey key, void* value) {
512 void Thread::YieldCPU() {
679 class SignalSender : public Thread {
687 : Thread(NULL, "SignalSender"),
702 // Start a thread that sends SIGPROF signal to VM threads.
727 // Implement Thread::Run().