summaryrefslogtreecommitdiff
path: root/rts/Capability.c
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2020-12-29 00:51:32 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-11-22 02:06:17 -0500
commit8901285ef64ab4aa16aa34096a1e2be42d4be246 (patch)
tree947ff1a36fd59ce5c321454cd48c6d0b412d1ec9 /rts/Capability.c
parent8d6aaa49e011ec58f88b65a50a90f64bfd0a1f60 (diff)
downloadhaskell-8901285ef64ab4aa16aa34096a1e2be42d4be246.tar.gz
Add hook markCapabilityIOManager
To allow I/O managers to have GC roots in the Capability, within the CapIOManager structure. Not yet used in this patch.
Diffstat (limited to 'rts/Capability.c')
-rw-r--r--rts/Capability.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Capability.c b/rts/Capability.c
index 05332514e3..afe21fcb46 100644
--- a/rts/Capability.c
+++ b/rts/Capability.c
@@ -1322,6 +1322,8 @@ markCapability (evac_fn evac, void *user, Capability *cap,
}
#endif
+ markCapabilityIOManager(evac, user, cap->iomgr);
+
// Free STM structures for this Capability
stmPreGCHook(cap);
}