[PATCH] D54995: [MemoryBuffer] By default assume that all files are volatile to prevent unintended file locks
Ivan Donchevskii via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 28 07:53:21 PST 2018
yvvan added a comment.
@ilya-biryukov
https://bugreports.qt.io/browse/QTCREATORBUG-15449
I was able to lock files last time with mmap. The Windows API calls are CreateFileMappingW (it's in the Path.inc, line 794) and MapViewOfFile (further down). As far as I remember the second call actually creates the lock and is freed only by UnmapViewOfFile in destructor
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54995/new/
https://reviews.llvm.org/D54995
More information about the cfe-commits
mailing list