fix queue-callback to default to high priority

original commit: 73d28a3fff66aae7c948aaf5d6f7adee809d4fc2
This commit is contained in:
Matthew Flatt 2010-09-16 05:33:10 -06:00
parent e0f1ae3ed9
commit 0b412d18d5

View File

@ -408,7 +408,7 @@
(define (main-eventspace? e) (define (main-eventspace? e)
(eq? e main-eventspace)) (eq? e main-eventspace))
(define (queue-callback thunk [high? #f]) (define (queue-callback thunk [high? #t])
(queue-event (current-eventspace) thunk (cond (queue-event (current-eventspace) thunk (cond
[(not high?) 'lo] [(not high?) 'lo]
[(eq? high? middle-queue-key) 'med] [(eq? high? middle-queue-key) 'med]