Refactor code in world-core that spawns threads

This commit is contained in:
2024-02-27 17:01:26 -05:00
parent aaedf9e3f0
commit 2b426eefeb
6 changed files with 112 additions and 111 deletions

View File

@@ -372,7 +372,11 @@ private:
// Invoke the lua_source operation.
//
void invoke_lua_source(int64_t actor_id, int64_t place_id, std::string_view datapack);
// Low level spawn thread function.
//
bool spawn(LuaCoreStack &LS0, int64_t actor_id, int64_t place_id, LuaSlot func, bool passactorplace, int nargs, bool print);
public:
////////////////////////////////////////////////////////////////////////////
//