Safely writing to the same file in parallel foreach loop

Vijay Nayar madric at gmail.com
Wed Nov 14 10:18:23 PST 2012


I think this is what you want around the file access section:

http://dlang.org/statement.html#SynchronizedStatement

  - Vijay

On Wednesday, 14 November 2012 at 16:43:37 UTC, Joseph Rushton 
Wakeling wrote:
> I take it there's no more "native-to-D" way of implementing a 
> file lock? :-(



More information about the Digitalmars-d-learn mailing list