fix queue-callback to default to high priority

This commit is contained in:
Matthew Flatt 2010-09-16 05:33:10 -06:00
parent 4d03f3ab3c
commit 73d28a3fff

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]