MCPcopy Create free account
hub / github.com/Ahmeth4n/renef / lua_thread_id

Function lua_thread_id

src/agent/lua/api_thread.c:221–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221static int lua_thread_id(lua_State* L) {
222 lua_pushinteger(L, (lua_Integer)get_thread_id());
223 return 1;
224}
225
226void lua_register_thread(lua_State* L) {
227 lua_newtable(L);

Callers

nothing calls this directly

Calls 1

get_thread_idFunction · 0.85

Tested by

no test coverage detected