This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: problem about constructor and destructor with fork()


In what sense is this question related with the development of the GNU
Compiler Collection, which is the topic of this mailing list?

On Apr  2, 2001, Jerry Hong <jhong001@yahoo.com> wrote:

> Any idear for solution based on this Global C++ object.

If you're using GNU tools, you can probably tell the linker to wrap
fork() and exec() with some function you define that will
increment and decrement the counter, respectively.

You may get better input in some forum devoted to generic development
for Unix.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]