#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.182 1993/07/01 22:19:23 cph Exp $
+$Id: runtime.pkg,v 14.183 1993/07/01 23:07:57 cph Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
stop-thread-timer
suspend-current-thread
thread-continuation
+ thread-dead?
thread-execution-state
thread-mutex-owner
thread-mutex?
#| -*-Scheme-*-
-$Id: thread.scm,v 1.14 1993/07/01 22:19:24 cph Exp $
+$Id: thread.scm,v 1.15 1993/07/01 23:08:04 cph Exp $
Copyright (c) 1991-1993 Massachusetts Institute of Technology
(define no-exit-value-marker
(list 'NO-EXIT-VALUE-MARKER))
+
+(define-integrable (thread-dead? thread)
+ (eq? 'DEAD (thread/execution-state thread)))
\f
(define thread-population)
(define first-running-thread)
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.182 1993/07/01 22:19:23 cph Exp $
+$Id: runtime.pkg,v 14.183 1993/07/01 23:07:57 cph Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
stop-thread-timer
suspend-current-thread
thread-continuation
+ thread-dead?
thread-execution-state
thread-mutex-owner
thread-mutex?