Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dm2nd (0.15 sec)

  1. .typos.toml

    ]
    
    [default.extend-words]
    "encrypter" = "encrypter"
    "kms" = "kms"
    "requestor" = "requestor"
    
    [default.extend-identifiers]
    "HashiCorp" = "HashiCorp"
    
    [type.go.extend-identifiers]
    "bui" = "bui"
    "dm2nd" = "dm2nd"
    "ot" = "ot"
    "ParseND" = "ParseND"
    "ParseNDStream" = "ParseNDStream"
    "pn" = "pn"
    "TestGetPartialObjectMisAligned" = "TestGetPartialObjectMisAligned"
    "thr" = "thr"
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 18 15:15:02 GMT 2024
    - 854 bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    func TestTwoSimultaneousLocksForSameResource(t *testing.T) {
    	dm1st := NewDRWMutex(ds, "aap")
    	dm2nd := NewDRWMutex(ds, "aap")
    
    	dm1st.Lock(id, source)
    
    	// Release lock after 10 seconds
    	go func() {
    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    	}()
    
    	dm2nd.Lock(id, source)
    
    	// fmt.Printf("2nd lock obtained after 1st lock is released\n")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
Back to top