thread: add missing end-atomic
This commit is contained in:
parent
89db60abc9
commit
d26517b49b
|
@ -41,6 +41,7 @@
|
|||
(set! end-atomic-callback #f)
|
||||
(current-atomic n)
|
||||
(cb)]
|
||||
[(negative? n) (internal-error "not in atomic mode to end")]
|
||||
[else
|
||||
(current-atomic n)]))
|
||||
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
(end-atomic)
|
||||
(loop #f #f)]
|
||||
[else
|
||||
(end-atomic)
|
||||
;; Return result in a thunk:
|
||||
(lambda () #f)])]
|
||||
[(and (all-asynchronous? s)
|
||||
|
|
Loading…
Reference in New Issue
Block a user