Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LockedOpenFile (0.15 sec)

  1. internal/lock/lock_windows.go

    		//lint:ignore SA4016 Reasons
    		lockType = lockFileFailImmediately // Set this to enable shared lock and fail immediately.
    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access.
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	var lockType uint32 = lockFileExclusiveLock
    	if flag == syscall.O_RDONLY {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top