summaryrefslogtreecommitdiff
path: root/rts/include/rts/storage/Closures.h
diff options
context:
space:
mode:
Diffstat (limited to 'rts/include/rts/storage/Closures.h')
-rw-r--r--rts/include/rts/storage/Closures.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/rts/include/rts/storage/Closures.h b/rts/include/rts/storage/Closures.h
index 41861abac9..8634c1a5fc 100644
--- a/rts/include/rts/storage/Closures.h
+++ b/rts/include/rts/storage/Closures.h
@@ -282,6 +282,13 @@ typedef struct {
StgHeader header;
} StgStopFrame;
+// Stack frame indicating that the stack's owning thread has finished.
+//
+// Closure types: RET_SMALL
+typedef struct {
+ StgHeader header;
+ StgClosure *result;
+} StgDeadThreadFrame;
// A function return stack frame: used when saving the state for a
// garbage collection at a function entry point. The function