This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem about constructor and destructor with fork()
- To: Jerry Hong <jhong001 at yahoo dot com>
- Subject: Re: problem about constructor and destructor with fork()
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 Apr 2001 01:24:38 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010402210036.1862.qmail@web4302.mail.yahoo.com>
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