You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
Copy file name to clipboardExpand all lines: CHANGES
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,19 @@
1
1
CHANGES:
2
2
3
-
CHANGE 72: BGe 3-Ost-13
3
+
CHANGE 76: BGe 10-Oct-13
4
+
* version 3.7.0
5
+
* fix lanes.threads() not being available in a lane where lanes.configure() settings didn't contain track_lanes although the initial configure() call did.
6
+
7
+
CHANGE 75: BGe 7-Oct-13
8
+
* require "lanes".configure() sequence is only necessary at the first require "lanes".
9
+
10
+
CHANGE 74: BGe 7-Oct-13
11
+
* fix a crash at application shutdown where in some situations we could deinitialize the protected allocator mutex while a lane was still using it.
12
+
13
+
CHANGE 73: BGe 4-Oct-13
14
+
* fix timers broken by change 69
15
+
16
+
CHANGE 72: BGe 3-Oct-13
4
17
* bugfix: no longer create a global named "lanes.core" inside lanes having "*" as library list
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
249
</p>
250
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.
Any non-<tt>nil|false</tt> value instructs Lanes keeps track of all lanes, so that <ahref="#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 <ahref="#tracking"><tt>lanes.threads()</tt></a> can list them. If <tt>false</tt>, <tt>lanes.threads()</tt> will raise an error when called.
Once Lanes is configured, one should register with Lanes the modules exporting functions that will be transferred either during lane generation or through <ahref="#lindas">lindas</a>.
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 <ahref="#lindas">lindas</a>.
370
372
<br>
371
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.
0 commit comments