aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2021-06-16 18:41:14 +0200
committerBenoit Germain <bnt.germain@gmail.com>2021-06-16 18:41:14 +0200
commit5875fe44ba7a240dd101f954c7dc83337a0c2cef (patch)
tree5c53b56b750c135163d462a39217fb88f8741ed6 /src/lanes.h
parent21b2ac762ff8a5926872963aa2fd8feeb1bf3b39 (diff)
downloadlanes-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 'src/lanes.h')
-rw-r--r--src/lanes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.h b/src/lanes.h
index da0dd26..1a38ba5 100644
--- a/src/lanes.h
+++ b/src/lanes.h
@@ -11,7 +11,7 @@
11#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC) 11#endif // (defined PLATFORM_WIN32) || (defined PLATFORM_POCKETPC)
12 12
13#define LANES_VERSION_MAJOR 3 13#define LANES_VERSION_MAJOR 3
14#define LANES_VERSION_MINOR 14 14#define LANES_VERSION_MINOR 15
15#define LANES_VERSION_PATCH 0 15#define LANES_VERSION_PATCH 0
16 16
17#define LANES_MIN_VERSION_REQUIRED(MAJOR, MINOR, PATCH) ((LANES_VERSION_MAJOR>MAJOR) || (LANES_VERSION_MAJOR==MAJOR && (LANES_VERSION_MINOR>MINOR || (LANES_VERSION_MINOR==MINOR && LANES_VERSION_PATCH>=PATCH)))) 17#define LANES_MIN_VERSION_REQUIRED(MAJOR, MINOR, PATCH) ((LANES_VERSION_MAJOR>MAJOR) || (LANES_VERSION_MAJOR==MAJOR && (LANES_VERSION_MINOR>MINOR || (LANES_VERSION_MINOR==MINOR && LANES_VERSION_PATCH>=PATCH))))