Lines Matching defs:ThreadId
178 class ThreadId {
180 // Creates an invalid ThreadId.
181 ThreadId() : id_(kInvalidId) {}
183 // Returns ThreadId for current thread.
184 static ThreadId Current() { return ThreadId(GetCurrentThreadId()); }
186 // Returns invalid ThreadId (guaranteed not to be equal to any thread).
187 static ThreadId Invalid() { return ThreadId(kInvalidId); }
190 INLINE(bool Equals(const ThreadId& other) const) {
194 // Checks whether this ThreadId refers to any thread.
199 // Converts ThreadId to an integer representation
203 // Converts ThreadId to an integer representation
205 static ThreadId FromInteger(int id) { return ThreadId(id); }
210 explicit ThreadId(int id) : id_(id) {}
266 ThreadId thread_id_;
407 PerIsolateThreadData(Isolate* isolate, ThreadId thread_id)
422 ThreadId thread_id() const { return thread_id_; }
434 bool Matches(Isolate* isolate, ThreadId thread_id) const {
440 ThreadId thread_id_;
525 PerIsolateThreadData* FindPerThreadDataForThread(ThreadId thread_id);
557 THREAD_LOCAL_TOP_ACCESSOR(ThreadId, thread_id)
1137 PerIsolateThreadData* Lookup(Isolate* isolate, ThreadId thread_id);
1339 friend class ThreadId;