#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.185 1993/07/18 22:25:37 gjr Exp $
+$Id: runtime.pkg,v 14.186 1993/07/27 00:46:44 cph Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
(files "thread")
(parent ())
(export ()
+ allow-thread-event-delivery
block-thread-events
condition-type:thread-dead
condition-type:thread-deadlock
#| -*-Scheme-*-
-$Id: thread.scm,v 1.16 1993/07/07 20:01:27 gjr Exp $
+$Id: thread.scm,v 1.17 1993/07/27 00:46:36 cph Exp $
Copyright (c) 1991-1993 Massachusetts Institute of Technology
(set-thread/block-events?! thread block-events?)
event))))
+(define (allow-thread-event-delivery)
+ (without-interrupts
+ (lambda ()
+ (let ((thread (current-thread)))
+ (let ((block-events? (thread/block-events? thread)))
+ (set-thread/block-events?! thread #f)
+ (deliver-timer-events)
+ (maybe-signal-input-thread-events)
+ (handle-thread-events thread)
+ (set-thread/block-events?! thread block-events?))))))
+
(define (stop-current-thread)
(without-interrupts
(lambda ()
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.185 1993/07/18 22:25:37 gjr Exp $
+$Id: runtime.pkg,v 14.186 1993/07/27 00:46:44 cph Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
(files "thread")
(parent ())
(export ()
+ allow-thread-event-delivery
block-thread-events
condition-type:thread-dead
condition-type:thread-deadlock