diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-05 08:49:48 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-05 08:51:09 +0200 |
| commit | c64f9dcd61c1ad7bef3dbf5b7647a2a2da23ac0f (patch) | |
| tree | 349aa02b2367d11d252468af983d719f20a00a42 /docs/index.html | |
| parent | 2cb54d2ac028d648deab6d49a051f53a0bb67fb2 (diff) | |
| download | lanes-c64f9dcd61c1ad7bef3dbf5b7647a2a2da23ac0f.tar.gz lanes-c64f9dcd61c1ad7bef3dbf5b7647a2a2da23ac0f.tar.bz2 lanes-c64f9dcd61c1ad7bef3dbf5b7647a2a2da23ac0f.zip | |
Enable manual control of GC inside keeper states
Diffstat (limited to 'docs/index.html')
| -rw-r--r-- | docs/index.html | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/index.html b/docs/index.html index 24fa4ef..ee5acfa 100644 --- a/docs/index.html +++ b/docs/index.html | |||
| @@ -291,6 +291,18 @@ | |||
| 291 | </tr> | 291 | </tr> |
| 292 | 292 | ||
| 293 | <tr valign=top> | 293 | <tr valign=top> |
| 294 | <td id="keepers_gc_threshold"> | ||
| 295 | <code>.keepers_gc_threshold</code> | ||
| 296 | </td> | ||
| 297 | <td>integer</td> | ||
| 298 | <td> | ||
| 299 | If <0, GC runs automatically. This is the default.<br/> | ||
| 300 | If 0, GC runs after *every* keeper operation.<br/> | ||
| 301 | If >0, Keepers run GC manually with <tt>lua_gc(LUA_GCCOLLECT)</tt> whenever memory usage reported by <tt>lua_gc(LUA_GCCOUNT)</tt> reaches this threshold. Check is made after every keeper operation (see <a href="#lindas">below</a>). If memory usage remains above threshold after the GC cycle, an error is raised. | ||
| 302 | </td> | ||
| 303 | </tr> | ||
| 304 | |||
| 305 | <tr valign=top> | ||
| 294 | <td id="with_timers"> | 306 | <td id="with_timers"> |
| 295 | <code>.with_timers</code> | 307 | <code>.with_timers</code> |
| 296 | </td> | 308 | </td> |
| @@ -1784,4 +1796,4 @@ int luaD_new_clonable( lua_State* L) | |||
| 1784 | </p> | 1796 | </p> |
| 1785 | 1797 | ||
| 1786 | </body> | 1798 | </body> |
| 1787 | </html></pre> \ No newline at end of file | 1799 | </html> |
