mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	@@ -22,7 +22,7 @@ import (
 | 
				
			|||||||
	"sync"
 | 
						"sync"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// KeyMutex is a thread-safe interface for aquiring locks on arbitrary strings.
 | 
					// KeyMutex is a thread-safe interface for acquiring locks on arbitrary strings.
 | 
				
			||||||
type KeyMutex interface {
 | 
					type KeyMutex interface {
 | 
				
			||||||
	// Aquires a lock associated with the specified ID, creates the lock if one doesn't already exist.
 | 
						// Aquires a lock associated with the specified ID, creates the lock if one doesn't already exist.
 | 
				
			||||||
	LockKey(id string)
 | 
						LockKey(id string)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user