diff options
author | Christopher Baines <mail@cbaines.net> | 2024-12-28 08:47:03 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-12-28 10:44:12 +0000 |
commit | 4e564b48146136474539fd5c598283154751caf8 (patch) | |
tree | a2a621ba2c68e9d568b60e529c3853af58dab993 /tests | |
parent | 4e791aff6814e38da8b431b8ddb8444a32e34fe6 (diff) | |
download | knots-4e564b48146136474539fd5c598283154751caf8.tar knots-4e564b48146136474539fd5c598283154751caf8.tar.gz |
Allow nesting worker thread calls
Incorporating changes from the nar-herder.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/worker-threads.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/worker-threads.scm b/tests/worker-threads.scm index 72a56dc..cfdfbf8 100644 --- a/tests/worker-threads.scm +++ b/tests/worker-threads.scm @@ -4,8 +4,8 @@ (unit-test) (knots worker-threads)) -(let ((worker-thread-channel - (make-worker-thread-channel +(let ((worker-thread-set + (make-worker-thread-set (const '()) #:parallelism 2))) @@ -13,7 +13,7 @@ (lambda () (assert-equal (call-with-worker-thread - worker-thread-channel + worker-thread-set (lambda () 4)) 4)))) |