...on stderr when there is no current thread. Handle-current-thread-
events is only used by the after-gc-interrupt-handler, which may run
while there is no current thread.
(without-interrupts
(lambda ()
(let ((thread first-running-thread))
- (if thread
- (if (not (thread/block-events? thread))
- (handle-thread-events thread))
- (outf-error
- "\nhandle-current-thread-events: no current thread\n"))))))
+ (if (and thread
+ (not (thread/block-events? thread)))
+ (handle-thread-events thread))))))
\f
;;;; Subprocess Events