From 6df14dc9f0e0132b77074c9a582a9bf471ccb673 Mon Sep 17 00:00:00 2001 From: Vindaar Date: Sat, 16 Sep 2023 00:32:50 +0200 Subject: [PATCH 1/2] export ThreadPoolSize and FixedChanSize --- src/malebolgia.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/malebolgia.nim b/src/malebolgia.nim index c3cb4ad..6b24e82 100644 --- a/src/malebolgia.nim +++ b/src/malebolgia.nim @@ -82,10 +82,10 @@ proc waitForCompletions(m: var Master) = # thread pool independent of the 'master': const - FixedChanSize {.intdefine.} = 16 ## must be a power of two! + FixedChanSize* {.intdefine.} = 16 ## must be a power of two! FixedChanMask = FixedChanSize - 1 - ThreadPoolSize {.intdefine.} = 8 # 24 + ThreadPoolSize* {.intdefine.} = 8 # 24 type PoolTask = object ## a task for the thread pool From 5f90e18141b4bf5818aa2f022dfd908adde03135 Mon Sep 17 00:00:00 2001 From: Vindaar Date: Sat, 16 Sep 2023 00:34:14 +0200 Subject: [PATCH 2/2] update nimble version to v1.3.1 --- malebolgia.nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/malebolgia.nimble b/malebolgia.nimble index e2e0b2f..0007967 100644 --- a/malebolgia.nimble +++ b/malebolgia.nimble @@ -1,6 +1,6 @@ # Package -version = "1.3.0" +version = "1.3.1" author = "Araq" description = "Malebolgia creates new spawns. Experiments with thread pools and related APIs." license = "MIT"