Home
last modified time | relevance | path

Searched refs:threadId (Results 1 - 6 of 6) sorted by relevance

/ide/tools/previewer/util/
H A DCppTimer.cpp21 if (curThreadId != threadId) { in ~CppTimer()
29 if (curThreadId != threadId) { in Start()
41 if (curThreadId != threadId) { in Stop()
60 if (curThreadId != threadId) { in RunTimerTick()
H A DCppTimer.h41 threadId = std::this_thread::get_id(); in CppTimer()
51 threadId = std::this_thread::get_id(); in CppTimer()
79 std::thread::id threadId; member in CppTimer
H A DSharedData.h122 * threadId: Checks and callbacks are performed only in this thread.
126 AppendNotify(SharedDataType type, std::function<void(T)> func, std::thread::id threadId, uint32_t period = 1) in AppendNotify() argument
132 dataMap[type].callBacks[threadId] = std::pair<std::function<void(T)>, uint32_t>(func, period); in AppendNotify()
/ide/tools/previewer/jsapp/rich/external/
H A DEventRunner.cpp32 threadId = id; in SetMainThreadId()
37 return threadId; in GetThreadId()
42 return std::this_thread::get_id() == threadId; in IsCurrentRunnerThread()
H A DEventRunner.h41 std::thread::id threadId; member in OHOS::AppExecFwk::final
/ide/tools/previewer/test/unittest/jsapp/
H A DEventHandlerTest.cpp41 EXPECT_EQ(OHOS::AppExecFwk::EventRunner::GetMainEventRunner().threadId, tid); in TEST()

Completed in 2 milliseconds