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 | 75d9181dc86d55753d832ab986fcb48ea157f43f (patch) | |
tree | 8b4091186e29091437bd837b1c81a7c9d23d2c11 | |
parent | b01993f2168fa2542c89f1ed84c6df10e0c1df7b (diff) | |
download | lanes-75d9181dc86d55753d832ab986fcb48ea157f43f.tar.gz lanes-75d9181dc86d55753d832ab986fcb48ea157f43f.tar.bz2 lanes-75d9181dc86d55753d832ab986fcb48ea157f43f.zip |
Version bump
-rw-r--r-- | index.html | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 | ||