Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Gripes with array
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-09-10 (14:51)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: Array.init (was [Caml-list] Gripes with array)
On Sep 10, 2004, at 10:53, Richard Jones wrote:

> Can one set the tag first to Custom_tag, then once array
> initialization is complete, set the tag again to 0 (or
> Array_double_tag as appropriate)?

No.  If you do that, the pointers that you have already set
will not be traced by the GC -> Bus Error.

-- Damien

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: