<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 6, 2014 at 12:03 PM, Kim Gräsman <span dir="ltr"><<a href="mailto:kim.grasman@gmail.com" target="_blank">kim.grasman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't know if LLVM/Clang or some other app on Ivan's system is<br>
opening the files with exclusive access, but if it's Clang, maybe the<br>
requested share mode could be lowered to read-only?</blockquote><div><br></div><div>To clarify a bit more when the .h file gets locked and unlocked:</div><div><br></div><div>I have 2 processes running:</div><div>- sublime text with my plugin</div><div>- ycmd with libclang.dll loaded</div><div><br></div><div>My sublime text only opens the dummy.c file, it doesn't open dummy.h. It then tells the ycmd process to parse the dummy.c file.</div><div>As soon as that happens, the dummy.h file gets locked. It's either ycmd or libclang locking it.</div><div>When I terminate the ycmd process by hand, the file immediately gets unlocked, probably windows cleaning up the file handles.</div></div><br></div></div>