• Home
  • Raw
  • Download

Lines Matching full:tid

169     pthread_t tid;  in InitializeInspector()  local
170 if (pthread_create(&tid, nullptr, &HandleClient, static_cast<void *>( in InitializeInspector()
175 newInspector->websocketServer_->tid_ = tid; in InitializeInspector()
283 debuggerPostTask_([tid = tid_, vm = vm_] { in OnMessage()
284 if (tid != pthread_self()) { in OnMessage()
292 debuggerPostTask_([tid = tidForSocketPair_, vm = vm_] { in OnMessage()
294 if (tid != static_cast<pid_t>(threadOrTaskId)) { in OnMessage()
323 const DebuggerPostTask &GetDebuggerPostTask(int tid) in GetDebuggerPostTask() argument
326 if (g_debuggerInfo.find(tid) == g_debuggerInfo.end()) { in GetDebuggerPostTask()
330 return g_debuggerInfo[tid].second; in GetDebuggerPostTask()
333 void *GetEcmaVM(int tid) in GetEcmaVM() argument
336 if (g_debuggerInfo.find(tid) == g_debuggerInfo.end()) { in GetEcmaVM()
339 return g_debuggerInfo[tid].first; in GetEcmaVM()
358 bool StartDebugForSocketpair(int tid, int socketfd) in StartDebugForSocketpair() argument
360 LOGI("StartDebugForSocketpair, tid = %{private}d, socketfd = %{private}d", tid, socketfd); in StartDebugForSocketpair()
361 void* vm = GetEcmaVM(tid); in StartDebugForSocketpair()
370 const DebuggerPostTask &debuggerPostTask = GetDebuggerPostTask(tid); in StartDebugForSocketpair()
372 if (!InitializeInspector(vm, debuggerPostTask, debugInfo, tid)) { in StartDebugForSocketpair()
428 uint32_t tid = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(g_inspectors[vm]->tid_)); in StopDebug() local
430 uint32_t tid = g_inspectors[vm]->tid_; in StopDebug() local
432 auto debuggerInfo = g_debuggerInfo.find(tid); in StopDebug()
441 void StopOldDebug(int tid, const std::string& componentName) in StopOldDebug() argument
443 …LOGI("StopDebug start, componentName = %{private}s, tid = %{private}d", componentName.c_str(), tid in StopOldDebug()
444 void* vm = GetEcmaVM(tid); in StopOldDebug()
459 void StoreDebuggerInfo(int tid, void* vm, const DebuggerPostTask& debuggerPostTask) in StoreDebuggerInfo() argument
462 if (g_debuggerInfo.find(tid) == g_debuggerInfo.end()) { in StoreDebuggerInfo()
463 g_debuggerInfo.emplace(tid, std::make_pair(vm, debuggerPostTask)); in StoreDebuggerInfo()