Module vidi::util::flock

source ·
Expand description

Locking files

Structs§

  • Locks a file securely (requires lockf) Not reentrant on Linux. That is, even the same thread cannot acquire the same file twice. BUT if there are two copies of this software in the same process, those copies can both lock the same file. This can happen if two different versions of the library are used, for example.
  • Locks a file securely (requires lockf)

Traits§