Top "File-locking" questions

The concept of locking a file to serialize concurrent accesses to said file.

Visual Studio 2010 Build Fails to File Copy Error

I'm building a project in Visual Studio 2010 and the build fails because it cannot copy the assemblyname.dll file from …

visual-studio-2010 build copy file-locking
Is std::ifstream thread-safe & lock-free?

I intend to perform opening for reading a single file from many threads using std::ifstream. My concern is if …

c++ thread-safety ifstream lock-free file-locking
TFS won't allow folder rename, claims that there are locks

In visual studio 2008, I want to rename a folder due to a typo in the name. I rename it in …

visual-studio-2008 version-control tfs file-locking
how to implement the folder lock in java

i want lock the particular folder, and i have code but the "java.io.FileNotFoundException: (Access is denied)" error is …

java file-io nio file-locking
PHP check if file locked with flock()?

Will fopen() fail if a file exists, but is currently locked with LOCK_EX? Or do I have to open …

php filesystems file-locking flock