MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / get_cur_thread_id

Function get_cur_thread_id

3rdparty/minitrace/minitrace.cpp:93–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91// pthread basics
92#ifdef _WIN32
93static int get_cur_thread_id() {
94 return (int)GetCurrentThreadId();
95}
96static int get_cur_process_id() {
97 return (int)GetCurrentProcessId();
98}

Callers 2

internal_mtr_raw_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected