diff options
author | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2013-10-11 20:08:32 +0200 |
---|---|---|
committer | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2013-10-11 20:08:32 +0200 |
commit | 44540b9335f3bbd2f6fda3e13329b28ec76b6d7a (patch) | |
tree | 4b6d659c0976e58f6cbd907b673c2b9d769b9e88 /docs | |
parent | 938ee19cfcac09bfcfa1dd2a7861690436024410 (diff) | |
download | lanes-44540b9335f3bbd2f6fda3e13329b28ec76b6d7a.tar.gz lanes-44540b9335f3bbd2f6fda3e13329b28ec76b6d7a.tar.bz2 lanes-44540b9335f3bbd2f6fda3e13329b28ec76b6d7a.zip |
version 3.7.0
* fix lanes.threads() not being available in a lane where
lanes.configure() settings didn't contain track_lanes although the
initial configure() call did.
* require "lanes".configure() sequence is only necessary at the first
require "lanes".
* fix a crash at application shutdown where in some situations we could
deinitialize the protected allocator mutex while a lane was still using
it.
* fix timers broken by change 69
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/index.html b/docs/index.html index eda1758..20a5c3f 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 27-Sept-13, and applies to version <tt>3.6.6</tt>. | 73 | This document was revised on 11-Oct-13, and applies to version <tt>3.7.0</tt>. |
74 | </p> | 74 | </p> |
75 | </font> | 75 | </font> |
76 | </center> | 76 | </center> |
@@ -248,7 +248,10 @@ | |||
248 | After lanes is required, it is necessary to call <tt>lanes.configure()</tt>, which is the only function exposed by the module at this point. Calling <tt>configure()</tt> will perform one-time initializations and make the rest of the API available. | 248 | After lanes is required, it is necessary to call <tt>lanes.configure()</tt>, which is the only function exposed by the module at this point. Calling <tt>configure()</tt> will perform one-time initializations and make the rest of the API available. |
249 | </p> | 249 | </p> |
250 | <p> | 250 | <p> |
251 | At the same time, <tt>configure()</tt> itself will be replaced by another function that raises an error if called again with differing arguments. | 251 | At the same time, <tt>configure()</tt> itself will be replaced by another function that raises an error if called again with differing arguments, if any. |
252 | </p> | ||
253 | <p> | ||
254 | <b>IMPORTANT NOTE:</b> Starting with version 3.7.0, only the first occurence of <tt>require "lanes"</tt> must be followed by a call to <tt>.configure()</tt>. From this point, a simple <tt>require "lanes"</tt> will do wherever you need to require lanes again. | ||
252 | </p> | 255 | </p> |
253 | 256 | ||
254 | <p> | 257 | <p> |
@@ -326,7 +329,8 @@ | |||
326 | <tt>nil</tt>/<tt>false</tt>/anything | 329 | <tt>nil</tt>/<tt>false</tt>/anything |
327 | </td> | 330 | </td> |
328 | <td> | 331 | <td> |
329 | Any non-<tt>nil|false</tt> value instructs Lanes keeps track of all lanes, so that <a href="#tracking"><tt>lanes.threads()</tt></a> can list them. | 332 | Any non-<tt>nil|false</tt> value instructs Lanes keeps track of all lanes, so that <a href="#tracking"><tt>lanes.threads()</tt></a> can list them. If <tt>false</tt>, <tt>lanes.threads()</tt> will raise an error when called. |
333 | Default is <tt>false</tt>. | ||
330 | </td> | 334 | </td> |
331 | </tr> | 335 | </tr> |
332 | 336 | ||
@@ -364,9 +368,7 @@ | |||
364 | </p> | 368 | </p> |
365 | 369 | ||
366 | <p> | 370 | <p> |
367 | NEW (version 3.5.0) | 371 | (Since v3.5.0) Once Lanes is configured, one should register with Lanes the modules exporting functions that will be transferred either during lane generation or through <a href="#lindas">lindas</a>. |
368 | <br> | ||
369 | Once Lanes is configured, one should register with Lanes the modules exporting functions that will be transferred either during lane generation or through <a href="#lindas">lindas</a>. | ||
370 | <br> | 372 | <br> |
371 | Use <tt>lanes.require()</tt> for this purpose. This will call the original <tt>require()</tt>, then add the result to the lookup databases. | 373 | Use <tt>lanes.require()</tt> for this purpose. This will call the original <tt>require()</tt>, then add the result to the lookup databases. |
372 | </p> | 374 | </p> |