Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initially (0.14 sec)

  1. internal/dsync/drwmutex_test.go

    	// fmt.Println("Getting initial write lock")
    	ctx1, cancel1 := context.WithCancel(context.Background())
    	if !drwm1.GetLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire initial write lock")
    	}
    
    	go func() {
    		time.Sleep(3 * testDrwMutexAcquireTimeout)
    		drwm1.Unlock(context.Background())
    		// fmt.Println("Initial write lock released, waiting...")
    	}()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
Back to top