www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - memory de-allocation?

reply "freeman" <fm nomail.com> writes:
Given:

void main () {
   system("rdmd prog_one.d");
   //... output from prog_one

   system("rdmd prog_two.d");
   //... output again from prog_one and new output from prog_two.
}

Any suggestions for getting rid of the ghost of prog_one?
Sep 23 2012
parent "freeman" <fm nomail.com> writes:
On Monday, 24 September 2012 at 00:16:33 UTC, freeman wrote:
 Given:

 void main () {
   system("rdmd prog_one.d");
   //... output from prog_one

   system("rdmd prog_two.d");
   //... output again from prog_one and new output from prog_two.
 }

 Any suggestions for getting rid of the ghost of prog_one?
After more testing, I think this problem relates to processing over nfs, so network latency might be the issue. Maybe a buffer is not getting cleared quick enough.
Sep 24 2012