September 24, 2012 memory de-allocation? | ||||
---|---|---|---|---|
| ||||
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? |
September 24, 2012 Re: memory de-allocation? | ||||
---|---|---|---|---|
| ||||
Posted in reply to freeman | 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.
|
Copyright © 1999-2021 by the D Language Foundation