This is needed to avoid deadlocks when locking more than one file at a
time.
The implementation assumes that -1 is a valid sentinel value, which I
believe is the case.
Differential D49455
file: Add a non-blocking mode to foffset_lock() markj on Sat, Mar 22, 3:06 AM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions Add foffset_trylock(), which can signal an error out-of-band in
|