Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for unlockReturned (0.17 sec)

  1. internal/dsync/dsync_test.go

    	}
    
    	unlockReturned := make(chan struct{}, 1)
    	go func() {
    		ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond)
    		defer cancel()
    		dm.Unlock(ctx)
    		unlockReturned <- struct{}{}
    	}()
    
    	timer := time.NewTimer(2 * testDrwMutexUnlockCallTimeout)
    	defer timer.Stop()
    
    	select {
    	case <-unlockReturned:
    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