[Gc] Callbacks for GC events.
Previous message: [Gc] Callbacks for GC events.
Next message: Re: [Gc] Callbacks for GC events.
> and ending is very different in incremental mode, for example.
doing so is safe and I've seen at least one crash when accidently doing this.
atomic operations, I do exactly this to protect some resources.
programmer must never do from a signal handler.
be unstable (such as the semantics of the function).
> a) We try to document what they are intended to do a bit more carefully.
> weird and platform-dependent restrictions on what may be done in a callback.
> It may take extreme effort to reliably avoid deadlocks and the like.
I've listed the two restrictions I'm farmiliar with above.
don't work on Darwin.  I don't know how to make them work.