Pass optional arguments from FORK-THREAD to SPAWN.
This commit is contained in:
@@ -67,5 +67,5 @@
|
||||
(lambda ()
|
||||
(apply let-thread-fluids args))))
|
||||
|
||||
(define (fork-thread thunk)
|
||||
(spawn (preserve-thread-fluids thunk)))
|
||||
(define (fork-thread thunk . rest)
|
||||
(apply spawn (preserve-thread-fluids thunk) rest))
|
||||
|
||||
Reference in New Issue
Block a user