At Tue, 8 Feb 2005 16:46:20 -0500, Ben Asselstine <[EMAIL PROTECTED]> wrote: > > Hello, > > This is an open question to anybody who knows about libtrivfs and how > it's used to create translators. > > Is there a reason that the trivfs-based translators in trans/ don't > call trivfs_clean_cntl() to cleanup before exit()'ing in _goaway()?
I am not sure, but it is probably pretty hopeless as there is a lot of state that you would have to clean up like the server threads etc. > Are ports being leaked when a trivfs translator exits without cleaning > up the cntl first? No. When a task is destroyed, all ports are destroyed and all references to outside ports are released. This is handled in Mach (similar to file descriptors in Unix). Thanks, Marcus _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd