Home
last modified time | relevance | path

Searched refs:ThreadId (Results 1 – 25 of 27) sorted by relevance

12

/external/v8/src/
Dv8threads.h27 void set_id(ThreadId id) { id_ = id; } in set_id()
28 ThreadId id() { return id_; } in id()
45 ThreadId id_;
79 return mutex_owner_.Equals(ThreadId::Current()); in IsLockedByCurrentThread()
82 ThreadId CurrentId();
84 void TerminateExecution(ThreadId thread_id);
99 ThreadId mutex_owner_;
100 ThreadId lazily_archived_thread_;
Dv8threads.cc108 if (lazily_archived_thread_.Equals(ThreadId::Current())) { in RestoreThread()
109 lazily_archived_thread_ = ThreadId::Invalid(); in RestoreThread()
114 lazily_archived_thread_state_->set_id(ThreadId::Invalid()); in RestoreThread()
151 state->set_id(ThreadId::Invalid()); in RestoreThread()
160 mutex_owner_ = ThreadId::Current(); in Lock()
166 mutex_owner_ = ThreadId::Invalid(); in Unlock()
182 : id_(ThreadId::Invalid()), in ThreadState()
242 : mutex_owner_(ThreadId::Invalid()), in ThreadManager()
243 lazily_archived_thread_(ThreadId::Invalid()), in ThreadManager()
270 DCHECK(lazily_archived_thread_.Equals(ThreadId::Invalid())); in ArchiveThread()
[all …]
Disolate.h342 class ThreadId {
345 ThreadId() { base::Relaxed_Store(&id_, kInvalidId); } in ThreadId() function
347 ThreadId& operator=(const ThreadId& other) {
352 bool operator==(const ThreadId& other) const { return Equals(other); }
355 static ThreadId Current() { return ThreadId(GetCurrentThreadId()); } in Current()
358 static ThreadId Invalid() { return ThreadId(kInvalidId); } in Invalid()
361 V8_INLINE bool Equals(const ThreadId& other) const { in Equals()
376 static ThreadId FromInteger(int id) { return ThreadId(id); } in FromInteger()
381 explicit ThreadId(int id) { base::Relaxed_Store(&id_, id); } in ThreadId() function
436 ThreadId thread_id_ = ThreadId::Invalid();
[all …]
Dcounters.cc485 if (!thread_id_.Equals(ThreadId::Invalid())) in IsCalledOnTheSameThread()
486 return thread_id_.Equals(ThreadId::Current()); in IsCalledOnTheSameThread()
487 thread_id_ = ThreadId::Current(); in IsCalledOnTheSameThread()
Disolate.cc84 base::Atomic32 ThreadId::highest_thread_id_ = 0;
137 int ThreadId::AllocateThreadId() { in AllocateThreadId()
143 int ThreadId::GetCurrentThreadId() { in GetCurrentThreadId()
158 thread_id_ = ThreadId::Current(); in Initialize()
180 ThreadId thread_id = ThreadId::Current(); in FindOrAllocatePerThreadDataForThisThread()
198 ThreadId thread_id = ThreadId(thread_id_int); in DiscardPerThreadDataForThisThread()
211 ThreadId thread_id = ThreadId::Current(); in FindPerThreadDataForThisThread()
217 ThreadId thread_id) { in FindPerThreadDataForThread()
2323 ThreadId thread_id) { in Throw()
3131 ThreadId::Current())); in Throw()
[all …]
Dcompiler.cc142 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in FinalizeJob()
193 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in PrepareJob()
219 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in FinalizeJob()
875 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in CompileToplevel()
1051 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in Compile()
Dcounters.h1052 ThreadId thread_id() const { return thread_id_; } in thread_id()
1074 ThreadId thread_id_;
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.cc94 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ~UnoptimizedCompileJob()
98 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ~UnoptimizedCompileJob()
109 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in PrepareOnMainThread()
262 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in FinalizeOnMainThread()
300 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ReportErrorsOnMainThread()
322 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ResetDataOnMainThread()
331 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ResetDataOnMainThread()
337 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ResetDataOnMainThread()
373 DCHECK_EQ(ThreadId::Current().ToInteger(), main_thread_id_); in ShortPrintOnMainThread()
Dcompiler-dispatcher.cc27 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in DoNextStepOnMainThread()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/
Dxray-stacks.cpp334 StackTrieNode *createTrieNode(uint32_t ThreadId, int32_t FuncId, in createTrieNode() argument
340 Roots[ThreadId].push_back(Node); in createTrieNode()
344 StackTrieNode *findRootNode(uint32_t ThreadId, int32_t FuncId) { in findRootNode() argument
345 const auto &RootsByThread = Roots[ThreadId]; in findRootNode()
564 RootVector RootValues, uint32_t ThreadId, bool ReportThread) { in printAll() argument
571 printSingleStack<AggType>(OS, FN, ReportThread, ThreadId, Top); in printAll()
585 bool ReportThread, uint32_t ThreadId, in printSingleStack() argument
588 OS << "thread_" << ThreadId << ";"; in printSingleStack()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h997 ULONG32 ThreadId; member
1012 ULONG32 ThreadId; member
1038 ULONG32 ThreadId; member
1074 DWORD ThreadId; member
1080 DWORD ThreadId; member
1167 ULONG ThreadId; member
1176 ULONG ThreadId; member
1187 ULONG ThreadId; member
/external/v8/src/builtins/
Dconstants-table-builder.cc37 DCHECK(ThreadId::Current().Equals(isolate_->thread_id())); in AddObject()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/
DTrace.cpp156 uint16_t ThreadId; member
216 State.ThreadId = RecordExtractor.getU16(&OffsetPtr); in processFDRNewBufferRecord()
477 Record.TId = State.ThreadId; in processFDRFunctionRecord()
/external/skqp/tools/
Dwin_dbghelp.cpp156 ExpParam.ThreadId = GetCurrentThreadId(); in GenerateDumpAndPrintCallstack()
/external/skia/tools/
Dwin_dbghelp.cpp156 ExpParam.ThreadId = GetCurrentThreadId(); in GenerateDumpAndPrintCallstack()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTOBackend.cpp351 [&](const SmallString<0> &BC, unsigned ThreadId) { in splitCodeGen() argument
363 codegen(C, TM.get(), AddStream, ThreadId, *MPartInCtx); in splitCodeGen()
/external/v8/src/ast/
Dast-value-factory.cc188 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in AstStringConstants()
/external/google-breakpad/src/client/windows/crash_generation/
Dminidump_generator.cc324 dump_exception_info.ThreadId = thread_id_; in WriteMinidump()
/external/libchrome/base/threading/
Dthread_unittest.cc394 TEST_F(ThreadTest, ThreadId) { in TEST_F() argument
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp2483 CodeGenFunction &CGF, llvm::Value *UpdateLocation, llvm::Value *ThreadId, in emitForStaticInitCall() argument
2517 UpdateLocation, ThreadId, CGF.Builder.getInt32(addMonoNonMonoModifier( in emitForStaticInitCall()
2539 auto *ThreadId = getThreadID(CGF, Loc); in emitForStaticInit() local
2541 emitForStaticInitCall(CGF, UpdatedLocation, ThreadId, StaticInitFunction, in emitForStaticInit()
2553 auto *ThreadId = getThreadID(CGF, Loc); in emitDistributeStaticInit() local
2555 emitForStaticInitCall(CGF, UpdatedLocation, ThreadId, StaticInitFunction, in emitDistributeStaticInit()
4437 auto *ThreadId = getThreadID(CGF, Loc); in emitReduction() local
4444 ThreadId, // i32 <gtid> in emitReduction()
4473 ThreadId, // i32 <gtid> in emitReduction()
4606 ThreadId, // i32 <gtid> in emitReduction()
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.cc922 except_info.ThreadId = requesting_thread_id; in WriteMinidumpWithExceptionForProcess()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc781 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DSignals.inc794 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
/external/llvm/lib/Support/Windows/
DSignals.inc780 ExceptionInfo.ThreadId = ::GetCurrentThreadId();
/external/v8/src/parsing/
Dparser.cc471 DCHECK(ThreadId::Current().Equals(isolate->thread_id())); in DeserializeScopeChain()

12