ao at pathlink.com
Wed Jul 30 09:43:47 PDT 2008
Reply to llee,
> Is there any way to lock a file in D. I'm writing an application that
> needs to support concurrent access to a file, and would like to lock
> the file during write operations to prevent other process instances
> from reading invalid data.
there may be some D library calls to do it (I haven't seen one, or looked)
but if there isn't, you can always fall back on however you would do it in C.
More information about the Digitalmars-d-learn