I think this is what you want around the file access section:
http://dlang.org/statement.html#SynchronizedStatement - VijayOn 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? :-(