Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UID (0.13 sec)

  1. internal/dsync/dsync-server_test.go

    	if d := atomic.LoadInt64(&l.responseDelay); d != 0 {
    		time.Sleep(time.Duration(d))
    	}
    
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	if len(args.UID) != 0 {
    		return false, fmt.Errorf("ForceUnlock called with non-empty UID: %s", args.UID)
    	}
    	delete(l.lockMap, args.Resources[0]) // Remove the lock (irrespective of write or read lock)
    	reply = true
    	return reply, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
Back to top