MCPcopy Create free account
hub / github.com/Tencent/mars / get_current_thread_data

Function get_current_thread_data

mars/boost/libs/thread/src/win32/thread.cpp:131–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 namespace detail
130 {
131 thread_data_base* get_current_thread_data()
132 {
133#if BOOST_PLAT_WINDOWS_RUNTIME
134 return current_thread_data_base;
135#else
136 if (current_thread_tls_key == TLS_OUT_OF_INDEXES)
137 {
138 return 0;
139 }
140 return (detail::thread_data_base*)TlsGetValue(current_thread_tls_key);
141#endif
142 }
143 }
144
145 namespace

Callers 10

interruptible_waitFunction · 0.70
interruption_pointFunction · 0.70
interruption_enabledFunction · 0.70
interruption_requestedFunction · 0.70
thread.cppFile · 0.70
restore_interruptionMethod · 0.70
interruption_checkerMethod · 0.50
interruptible_waitFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected