aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/concurrency/semaphore.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/concurrency/semaphore.lux')
-rw-r--r--stdlib/source/library/lux/control/concurrency/semaphore.lux2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/source/library/lux/control/concurrency/semaphore.lux b/stdlib/source/library/lux/control/concurrency/semaphore.lux
index 1e177aa5e..4b5f886a4 100644
--- a/stdlib/source/library/lux/control/concurrency/semaphore.lux
+++ b/stdlib/source/library/lux/control/concurrency/semaphore.lux
@@ -140,7 +140,7 @@
(def: (un_block! times turnstile)
(-> Nat Semaphore (Async Any))
- (loop [step 0]
+ (loop (again [step 0])
(if (n.< times step)
(do async.monad
[outcome (..signal! turnstile)]