pub fn downgradeLock(file: File, io: Io) LockError!void
Assumes the file is already locked in exclusive mode. Atomically modifies the lock to be in shared mode, without releasing it.
file: File
io: Io
660 661 662
pub fn downgradeLock(file: File, io: Io) LockError!void { return io.vtable.fileDowngradeLock(io.userdata, file); }
Assumes the file is already locked in exclusive mode. Atomically modifies the lock to be in shared mode, without releasing it.