Class SpawnThreadFunctionLogic