- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for outlined (0.13 sec)
-
internal/dsync/dsync_test.go
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") time.Sleep(testDrwMutexRefreshCallTimeout * 2) dm2nd.Unlock(context.Background()) } // Test three locks for same resource, one succeeds, one fails (after timeout)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Dec 24 03:49:07 GMT 2022 - 11K bytes - Viewed (0)