diff options
-rw-r--r-- | index.html | 21 |
1 files changed, 17 insertions, 4 deletions
@@ -70,7 +70,7 @@ | |||
70 | </p> | 70 | </p> |
71 | 71 | ||
72 | <p> | 72 | <p> |
73 | This document was revised on 12-Feb-13, and applies to version <tt>3.5.1</tt>. | 73 | This document was revised on 13-Mar-13, and applies to version <tt>3.5.2</tt>. |
74 | </p> | 74 | </p> |
75 | </font> | 75 | </font> |
76 | </center> | 76 | </center> |
@@ -284,11 +284,24 @@ | |||
284 | <code>.with_timers</code> | 284 | <code>.with_timers</code> |
285 | </td> | 285 | </td> |
286 | <td> | 286 | <td> |
287 | <tt>nil</tt>/<tt>false</tt>/anything | 287 | <tt>nil</tt>/<tt>false</tt>/<tt>true</tt> |
288 | </td> | ||
289 | <td> | ||
290 | 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). | ||
291 | Default is <tt>true</tt>. | ||
292 | </td> | ||
293 | </tr> | ||
294 | |||
295 | <tr valign=top> | ||
296 | <td> | ||
297 | <code>.protect_allocator</code> | ||
298 | </td> | ||
299 | <td> | ||
300 | <tt>nil</tt>/<tt>false</tt>/<tt>true</tt> | ||
288 | </td> | 301 | </td> |
289 | <td> | 302 | <td> |
290 | 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). | 303 | (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. |
291 | Any other non-<tt>nil</tt> value starts the timer service. Default is <tt>true</tt>. | 304 | Default is <tt>nil</tt>. |
292 | </td> | 305 | </td> |
293 | </tr> | 306 | </tr> |
294 | 307 | ||