diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2022-02-07 16:35:17 +0100 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2022-02-07 16:35:17 +0100 |
| commit | 54152c35e76acd1f21b477caf0a4403128032039 (patch) | |
| tree | 4e7db96888284b90b93649a71b673fbbb9fc08f5 /docs | |
| parent | 46730eb47d0d736998a0ebcad4d8f1318fefd096 (diff) | |
| download | lanes-54152c35e76acd1f21b477caf0a4403128032039.tar.gz lanes-54152c35e76acd1f21b477caf0a4403128032039.tar.bz2 lanes-54152c35e76acd1f21b477caf0a4403128032039.zip | |
Version bump
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/index.html b/docs/index.html index 82b1f24..290383e 100644 --- a/docs/index.html +++ b/docs/index.html | |||
| @@ -64,13 +64,13 @@ | |||
| 64 | <font size="-1"> | 64 | <font size="-1"> |
| 65 | <p> | 65 | <p> |
| 66 | <br/> | 66 | <br/> |
| 67 | <i>Copyright © 2007-21 Asko Kauppi, Benoit Germain. All rights reserved.</i> | 67 | <i>Copyright © 2007-22 Asko Kauppi, Benoit Germain. All rights reserved.</i> |
| 68 | <br/> | 68 | <br/> |
| 69 | Lua Lanes is published under the same <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> as Lua 5.1, 5.2, 5.3 and 5.4. | 69 | Lua Lanes is published under the same <a href="http://en.wikipedia.org/wiki/MIT_License">MIT license</a> as Lua 5.1, 5.2, 5.3 and 5.4. |
| 70 | </p> | 70 | </p> |
| 71 | 71 | ||
| 72 | <p> | 72 | <p> |
| 73 | This document was revised on 8-Jul-21, and applies to version <tt>3.15.1</tt>. | 73 | This document was revised on 8-Feb-22, and applies to version <tt>3.15.2</tt>. |
| 74 | </p> | 74 | </p> |
| 75 | </font> | 75 | </font> |
| 76 | </center> | 76 | </center> |
| @@ -339,8 +339,8 @@ | |||
| 339 | </td> | 339 | </td> |
| 340 | <td> | 340 | <td> |
| 341 | (Since v3.13.0)<br/> | 341 | (Since v3.13.0)<br/> |
| 342 | If <tt>nil</tt>, Lua states are created with <tt>luaL_newstate()</tt> and use the default allocator.<br/> | 342 | If <tt>nil</tt>, Lua states are created with <tt>lua_newstate()</tt> and reuse the allocator from the master state.<br/> |
| 343 | If <tt>"protected"</tt>, The default allocator obtained from <tt>lua_getallocf()</tt> in the state that initializes Lanes is wrapped inside a critical section and used in all newly created states.<br/> | 343 | If <tt>"protected"</tt>, The default allocator obtained from <tt>lua_getallocf()</tt> in the master state is wrapped inside a critical section and used in all newly created states.<br/> |
| 344 | If a <tt>function</tt>, this function is called prior to creating the state. It should return a full userdata containing the following structure: | 344 | If a <tt>function</tt>, this function is called prior to creating the state. It should return a full userdata containing the following structure: |
| 345 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"> | 345 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"> |
| 346 | <tr> | 346 | <tr> |
| @@ -351,6 +351,7 @@ | |||
| 351 | </table> | 351 | </table> |
| 352 | The contents will be used to create the state with <tt>lua_newstate( allocF, allocUD)</tt>. | 352 | The contents will be used to create the state with <tt>lua_newstate( allocF, allocUD)</tt>. |
| 353 | This option is mostly useful for embedders that want to provide different allocators to each lane, for example to have each one work in a different memory pool thus preventing the need for the allocator itself to be threadsafe. | 353 | This option is mostly useful for embedders that want to provide different allocators to each lane, for example to have each one work in a different memory pool thus preventing the need for the allocator itself to be threadsafe. |
| 354 | Note however that linda deep proxy are allocated with the allocator from the master state, because they are not tied to a particular state. | ||
| 354 | </td> | 355 | </td> |
| 355 | </tr> | 356 | </tr> |
| 356 | 357 | ||
