From fe3c44e63f99538a02d42d2504ba405a6977ec0a Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 26 Feb 2014 11:53:30 +0100 Subject: Multiverse compatibility * bumped version to 3.9.2 * Internal rework: the whole Lanes engine now works "per universe" to allow concurrent Lanes execution in more than one embedded master state * this universe is a full userdata created in the master state, selfdestruct_gc is the __gc for this userdata * most of what was initialized only once is now per-universe * Fixed potential crashes at desinit if problems occur during keeper states initialisation * Fixed require() not always serialized properly * Raise an error instead of crashing on deep userdata prelude memory allocation failure * Added forgotten mutex desinitialisation at universe shutdown --- tests/keeper.lua | 2 +- tests/recursive.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/keeper.lua b/tests/keeper.lua index 4aff51c..f8c915d 100644 --- a/tests/keeper.lua +++ b/tests/keeper.lua @@ -4,7 +4,7 @@ -- Test program for Lua Lanes -- -local lanes = require "lanes".configure{ with_timers = false} +local lanes = require "lanes".configure{ with_timers = false, nb_keepers = 200} local function keeper(linda) local mt= { diff --git a/tests/recursive.lua b/tests/recursive.lua index 82a43b9..139f4c8 100644 --- a/tests/recursive.lua +++ b/tests/recursive.lua @@ -14,7 +14,7 @@ local function func( depth ) local lanes = require "lanes" -- lanes.configure() is available only at the first require() if lanes.configure then - lanes = lanes.configure() + lanes = lanes.configure{with_timers = false} end local lane= lanes.gen("*", func)( depth+1 ) return lane[1] -- cgit v1.2.3-55-g6feb