Re: Process forms in finalizers
Michael Sperber <[email protected]> Sat, 01 Jul 2006 11:50:32 +0200
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
Martin Gasbichler <[email protected]> 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