Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnlockFileEx (0.1 sec)

  1. src/cmd/go/internal/lockedfile/internal/filelock/filelock_windows.go

    	if err != nil {
    		return &fs.PathError{
    			Op:   lt.String(),
    			Path: f.Name(),
    			Err:  err,
    		}
    	}
    	return nil
    }
    
    func unlock(f File) error {
    	ol := new(syscall.Overlapped)
    	err := windows.UnlockFileEx(syscall.Handle(f.Fd()), reserved, allBytes, allBytes, ol)
    	if err != nil {
    		return &fs.PathError{
    			Op:   "Unlock",
    			Path: f.Name(),
    			Err:  err,
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 17 02:24:35 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top