Lines Matching refs:Thread
139 // Platform-independent, reliable thread identifier.
145 // Returns ThreadId for current thread.
148 // Returns invalid ThreadId (guaranteed not to be equal to any thread).
156 // Checks whether this ThreadId refers to any thread.
192 // Initialize the thread data.
388 // A thread has a PerIsolateThreadData instance for each isolate that it has
453 // Returns the PerIsolateThreadData for the current thread (or NULL if one is
457 Thread::GetThreadLocal(per_isolate_thread_data_key_));
460 // Returns the isolate inside which the current thread is running.
463 Thread::GetExistingThreadLocal(isolate_key_));
469 return reinterpret_cast<Isolate*>(Thread::GetThreadLocal(isolate_key_));
483 // True if at least one thread Enter'ed this isolate.
510 static Thread::LocalStorageKey isolate_key() {
514 // Returns the key used to store process-wide thread IDs.
515 static Thread::LocalStorageKey thread_id_key() {
521 // thread to be inside the implicit isolate (or fail a check if we have
545 // Access to current thread id.
615 static Address c_entry_fp(ThreadLocalTop* thread) {
616 return thread->c_entry_fp_;
618 static Address handler(ThreadLocalTop* thread) { return thread->handler_; }
627 static Address js_entry_sp(ThreadLocalTop* thread) {
628 return thread->js_entry_sp_;
1049 // the Isolate. The top of the stack points to a thread which is currently
1051 // not entered by any thread and can be Disposed.
1052 // If the same thread enters the Isolate more then once, the entry_count_
1076 static Thread::LocalStorageKey per_isolate_thread_data_key_;
1077 static Thread::LocalStorageKey isolate_key_;
1078 static Thread::LocalStorageKey thread_id_key_;
1099 // Find the PerThread for this particular (isolate, thread) combination.
1103 // PreInits and returns a default isolate. Needed when a new thread tries
1107 // Initializes the current thread to run this Isolate.
1108 // Not thread-safe. Multiple threads should not Enter/Exit the same isolate
1112 // Exits the current thread. The previosuly entered Isolate is restored
1113 // for the thread.
1114 // Not thread-safe. Multiple threads should not Enter/Exit the same isolate
1122 void PrintStackTrace(FILE* out, ThreadLocalTop* thread);
1136 // The preallocated memory thread singleton.