projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b9efd
)
Add type-checking to thread-dead?.
author
Matt Birkholz
<puck@birchwood-abbey.net>
Sat, 11 Jul 2015 19:32:52 +0000
(12:32 -0700)
committer
Matt Birkholz
<puck@birchwood-abbey.net>
Mon, 17 Aug 2015 23:52:57 +0000
(16:52 -0700)
src/runtime/thread.scm
patch
|
blob
|
history
diff --git
a/src/runtime/thread.scm
b/src/runtime/thread.scm
index 862c1cf68e52c331cf1e2c4f34e2792a5dd3ef05..fc75ab94ba7b99c31587e0ae8c0e5a645364fe16 100644
(file)
--- a/
src/runtime/thread.scm
+++ b/
src/runtime/thread.scm
@@
-88,7
+88,8
@@
USA.
(define no-exit-value-marker
(list 'NO-EXIT-VALUE-MARKER))
-(define-integrable (thread-dead? thread)
+(define (thread-dead? thread)
+ (guarantee-thread thread 'THREAD-DEAD?)
(eq? 'DEAD (thread/execution-state thread)))
\f
(define thread-population)