Re: evecv/memory leak
- From: "David Schwartz" <davids@xxxxxxxxxxxxx>
- Date: Tue, 27 Dec 2005 16:17:26 -0800
"bill pursell" <bill.pursell@xxxxxxxxx> wrote in message
news:1135722658.189541.120590@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> The question is: is this identical to killing the process and
> restarting? Basically, I'm trying to avoid using the proprietary
> free() calls...does this accomplish that safely?
I recommend having your process 'fork' as early as possible. The parent
should just wait until the child dies, in which case it should loop and
'fork' again. The child should do the actual work. This is the safest way.
Also, if the parent can detect some problem with the child, it can kill it
and loop around to 'fork' again.
DS
.
- References:
- evecv/memory leak
- From: bill pursell
- evecv/memory leak
- Prev by Date: Re: evecv/memory leak
- Next by Date: User space memory management library
- Previous by thread: Re: evecv/memory leak
- Next by thread: User space memory management library
- Index(es):
Relevant Pages
|