MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / is_main_thread

Method is_main_thread

extlibs/sol3/include/sol/sol.hpp:25125–25127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25123 }
25124
25125 bool is_main_thread() const {
25126 return stack::is_main_thread(this->thread_state());
25127 }
25128
25129 lua_State* thread_state() const {
25130 auto pp = stack::push_pop(*this);

Callers

nothing calls this directly

Calls 2

thread_stateMethod · 0.95
is_main_threadFunction · 0.85

Tested by

no test coverage detected