Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de> writes:
> Yes, the finalizers are running in their own thread and presumably
> only that thread continued to run in the forked thread. In general,
> you should not do anything "complicated" in a finalizer because there
> is not much protection for the execution of a finalizer. It's often
> much better to write information about the dead objects into a queue
> and process this queue in a separate thread.
I believe the finalizers run off the root scheduler, rather than the
scheduler running the scsh program. This is bound to have strange
interactions with thread narrowing.
--
Cheers =8-} M.
Friede, Völkerverständigung und überhaupt blabla
|