Re: [Caml-list] Understanding GC and Alarms

2009-08-05 Thread Björn Pelzer
Hello Damien! Damien Doligez wrote: Yes, the GC calls the finalisation functions in order, so it waits for your finalisation function to finish before starting the next one. If your function doesn't terminate... Ok, makes sense. Is there a way to get the GC back to normal after an exception

Re: [Caml-list] Understanding GC and Alarms

2009-08-05 Thread Damien Doligez
Hello, On 2009-08-04, at 15:39, Björn Pelzer wrote: With the alarm loop, the GC will only print the first part ("Calling finalisation functions.") once at the start of the loop and then begin looping, starting new cycles but no new finalisations. Yes, the GC calls the finalisation function

[Caml-list] Understanding GC and Alarms

2009-08-04 Thread Björn Pelzer
Hello, I'm new to this list and fairly new to OCaml. First I posted this on the beginner's list, but I was recommended to try it here, so here we go. :-) Right now I'm having some problems with the garbage collector and the Gc.alarm - this combination shows some (to me) odd behaviours which a