Refactor code in world-core that spawns threads
This commit is contained in:
@@ -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:
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user