From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA06025; Thu, 10 Jul 2003 10:04:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA05024 for ; Thu, 10 Jul 2003 10:04:14 +0200 (MET DST) Received: from lindig.dyndns.org (dialin-145-254-148-201.arcor-ip.net [145.254.148.201]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6A84Df18586 for ; Thu, 10 Jul 2003 10:04:13 +0200 (MET DST) Received: by lindig.dyndns.org (Postfix, from userid 1002) id EBBE13D97; Thu, 10 Jul 2003 10:02:27 +0200 (CEST) Date: Thu, 10 Jul 2003 10:02:27 +0200 From: Christian Lindig To: Caml Mailing List Subject: [Caml-list] expose GC roots as weak Obj.t pointers? Message-ID: <20030710080227.GA716@eecs.harvard.edu> Mail-Followup-To: Christian Lindig , Caml Mailing List References: <16139.59948.178030.241482@tyminouch.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16139.59948.178030.241482@tyminouch.dyndns.org> X-No-Archive: yes X-URL: http://www.eecs.harvard.edu/~lindig/ User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; lindig:01 pointers:01 caml:01 unit:03 heap:03 eecs:03 obj:03 array:04 roots:05 weak:07 harvard:09 christian:16 possible:18 edu:22 principle:28 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Would it be possible (in principle) to expose the GC roots as an array of weak Obj.t pointers? This would allow to walk the heap from Caml using Obj. Gc.roots: unit -> Obj.t Weak.t -- Christian ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners