Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2006-03-11 08:15:07


"Ion Gaztañaga"

> Although ugly, a function to erase all named objects is an option. You
> can catch UNIX signals like SIGSEGV and call a function to release all
> reference counts, after that, abort the program. I would need to
> register every named object in a global list and the
> destroy_all_named_before_abort() would destroy every object. After that
> you can exit.
>

Still won't work for SIGKILL and for development phase when
you often stop the program via debugger.

Up front cleanup, when main application starts (to use shmem),
is the most safe option and quite intuitive to use.

/Pavel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk