X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Flibraries%2FWeak.sgml;h=0f223f42f36ac4d79bcb1d11733318f2b779f6da;hb=c4d0c0c930b38d21dd782668cf522875459dadbb;hp=08c28afa2dbb37f93151fe5258630a9f92dfb71b;hpb=438596897ebbe25a07e1c82085cfbc5bdb00f09e;p=ghc-hetmet.git
diff --git a/ghc/docs/libraries/Weak.sgml b/ghc/docs/libraries/Weak.sgml
index 08c28af..0f223f4 100644
--- a/ghc/docs/libraries/Weak.sgml
+++ b/ghc/docs/libraries/Weak.sgml
@@ -215,6 +215,7 @@ follows
A heap object is reachable if:
+ It is a member of the It is directly pointed to by a reachable object, other than
a weak pointer object.
It is a weak pointer object whose key is reachable.
@@ -222,6 +223,14 @@ a weak pointer object.
reachable.
+The root set consists of all runnable threads, and all stable pointers
+(see Section ).
+NOTE: currently all top-level objects are considered to be reachable,
+although we hope to remove this restriction in the future. A
+Finalisation for foreign objects
+