fix mred handling of errors within critical sections

svn: r9710
This commit is contained in:
Matthew Flatt 2008-05-07 00:33:03 +00:00
parent 860c41d749
commit 5a367ba427

View File

@ -76,7 +76,8 @@
(set! old-break-paramz #f) (set! old-break-paramz #f)
(semaphore-post monitor-sema) (semaphore-post monitor-sema)
(wx:in-atomic-region #f)))) (wx:in-atomic-region #f))))
lock-tag))])) lock-tag
(lambda (t) (t))))]))
(define (as-exit f) (define (as-exit f)
;; (unless (eq? monitor-owner (current-thread)) (error 'monitor-exit "not in monitored area")) ;; (unless (eq? monitor-owner (current-thread)) (error 'monitor-exit "not in monitored area"))