| 2366 | |
| 2367 | |
| 2368 | LUA_API int lua_pushthread (lua_State *L) { |
| 2369 | lua_lock(L); |
| 2370 | setthvalue(L, L->top, L); |
| 2371 | api_incr_top(L); |
| 2372 | lua_unlock(L); |
| 2373 | return (G(L)->mainthread == L); |
| 2374 | } |
| 2375 | |
| 2376 | |
| 2377 |
no outgoing calls
no test coverage detected