Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] at_exit functions not called during exit
@ 2002-02-18 13:07 Hendrik Tews
  2002-02-18 13:21 ` Warp
  2002-02-18 16:33 ` Xavier Leroy
  0 siblings, 2 replies; 4+ messages in thread
From: Hendrik Tews @ 2002-02-18 13:07 UTC (permalink / raw)
  To: caml-list

Hi,

I noticed that functions registered with Pervasives.at_exit are
not called when a C-library function calls exit. Is this a bug or
a feature?

Assuming it is a feature I experimented with atexit and callbacks
to ocaml. Now I have the following question:

When a ocaml program is going down, is there a point of time
after which I should not callback from C to Ocaml (because
libraries/the garbage collector are deinitialised)?

If yes, how can I check for this condition?

Bye,

Hendrik
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-02-18 16:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-18 13:07 [Caml-list] at_exit functions not called during exit Hendrik Tews
2002-02-18 13:21 ` Warp
2002-02-18 16:21   ` Hendrik Tews
2002-02-18 16:33 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox