From 4ff675bca9ef02901ae6c8daba6916eccee433ed Mon Sep 17 00:00:00 2001 From: Benoit Germain <bnt.germain@gmail.com> Date: Wed, 13 Mar 2013 20:48:01 +0100 Subject: version 3.5.2 * stricter validation of with_timers config option: validator was accepting any non-boolean value * new configuration option protect_allocator for VMs with thread unsafe allocators (such as LuaJIT) * removed some obsolete bits of dead code --- index.html | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 89710ab..98c1d3d 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@ </p> <p> - This document was revised on 12-Feb-13, and applies to version <tt>3.5.1</tt>. + This document was revised on 13-Mar-13, and applies to version <tt>3.5.2</tt>. </p> </font> </center> @@ -284,11 +284,24 @@ <code>.with_timers</code> </td> <td> - <tt>nil</tt>/<tt>false</tt>/anything + <tt>nil</tt>/<tt>false</tt>/<tt>true</tt> + </td> + <td> + If equal to <tt>false</tt> or <tt>nil</tt>, Lanes doesn't start the timer service, and the associated API will be absent from the interface (see below). + Default is <tt>true</tt>. + </td> + </tr> + + <tr valign=top> + <td> + <code>.protect_allocator</code> + </td> + <td> + <tt>nil</tt>/<tt>false</tt>/<tt>true</tt> </td> <td> - If equal to <tt>false</tt>, Lanes doesn't start the timer service, and the associated API will be absent from the interface (see below). - Any other non-<tt>nil</tt> value starts the timer service. Default is <tt>true</tt>. + (Since v3.5.2) If equal to <tt>true</tt>, Lanes wraps all calls to the state's allocator function inside a mutex. Useful when running Lanes with LuaJIT, whose allocator is not threadsafe. + Default is <tt>nil</tt>. </td> </tr> -- cgit v1.2.3-55-g6feb