diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2013-03-13 20:48:01 +0100 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2013-03-13 20:48:01 +0100 |
| commit | 8fb8dc1edeceae9fff65463cd80da05d8995fb7f (patch) | |
| tree | 290c3e7010d0f5a4674fa29141c0978b045e92c4 /docs | |
| parent | 6261eab8d81a6901201cb711283da6281db193ec (diff) | |
| download | lanes-8fb8dc1edeceae9fff65463cd80da05d8995fb7f.tar.gz lanes-8fb8dc1edeceae9fff65463cd80da05d8995fb7f.tar.bz2 lanes-8fb8dc1edeceae9fff65463cd80da05d8995fb7f.zip | |
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
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.html | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html index 89710ab..98c1d3d 100644 --- a/docs/index.html +++ b/docs/index.html | |||
| @@ -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 | ||
