missing data with parallel and stdin
moechofe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon May 23 08:53:23 PDT 2016
On Monday, 23 May 2016 at 14:16:13 UTC, Jack Stouffer wrote:
> Sounds like a data race problem. Use a lock on the file write
> operation and see if that helps.
Like this?:
synchronized(mutex) copy(source,dest);
That didn't solve anything.
What I observe is: when the process is slower, more files are
copied.
More information about the Digitalmars-d-learn
mailing list