diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2021-06-16 18:41:14 +0200 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2021-06-16 18:41:14 +0200 |
commit | 5875fe44ba7a240dd101f954c7dc83337a0c2cef (patch) | |
tree | 5c53b56b750c135163d462a39217fb88f8741ed6 /CHANGES | |
parent | 21b2ac762ff8a5926872963aa2fd8feeb1bf3b39 (diff) | |
download | lanes-5875fe44ba7a240dd101f954c7dc83337a0c2cef.tar.gz lanes-5875fe44ba7a240dd101f954c7dc83337a0c2cef.tar.bz2 lanes-5875fe44ba7a240dd101f954c7dc83337a0c2cef.zip |
changed lanes.threads() output so that several lanes with the same name don't clobber each other in the result table
In the original implementations, the debug name was used as key, which meant that several lanes using the same name would cause only the oldest non-collected one to be listed in the results. Now the result is an array of tuples.
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -1,5 +1,9 @@ | |||
1 | CHANGES: | 1 | CHANGES: |
2 | 2 | ||
3 | CHANGE 147: BGe 16-Jun-21 | ||
4 | * changed lanes.threads() output so that several lanes with the same name don't clobber each other in the result table | ||
5 | * bumped version to 3.15 because of the API change | ||
6 | |||
3 | CHANGE 146: BGe 26-Apr-19 | 7 | CHANGE 146: BGe 26-Apr-19 |
4 | * lane:cancel() rework (see doc). | 8 | * lane:cancel() rework (see doc). |
5 | * opt.cancelstep is gone, hook is installed by lane:cancel() if requested | 9 | * opt.cancelstep is gone, hook is installed by lane:cancel() if requested |
@@ -662,15 +666,15 @@ CHANGE 6 (bug fix) AKa 15-Oct-2008: | |||
662 | Added local caches of the following to src/lanes.lua (was otherwise getting | 666 | Added local caches of the following to src/lanes.lua (was otherwise getting |
663 | errors at least in 'tests/irayo_recursive.lua'). | 667 | errors at least in 'tests/irayo_recursive.lua'). |
664 | 668 | ||
665 | local assert= assert | 669 | local assert= assert |
666 | local string_gmatch= assert( string.gmatch ) | 670 | local string_gmatch= assert( string.gmatch ) |
667 | local select= assert( select ) | 671 | local select= assert( select ) |
668 | local type= assert( type ) | 672 | local type= assert( type ) |
669 | local pairs= assert( pairs ) | 673 | local pairs= assert( pairs ) |
670 | local tostring= assert( tostring ) | 674 | local tostring= assert( tostring ) |
671 | local error= assert( error ) | 675 | local error= assert( error ) |
672 | local setmetatable= assert( setmetatable ) | 676 | local setmetatable= assert( setmetatable ) |
673 | local rawget= assert( rawget ) | 677 | local rawget= assert( rawget ) |
674 | 678 | ||
675 | Thanks to Irayo for detecting and reporting this. | 679 | Thanks to Irayo for detecting and reporting this. |
676 | 680 | ||