- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for newSharedLock (0.08 seconds)
-
cmd/shared-lock.go
cancel() }() return ctx, cancel } func (ld sharedLock) GetLock(ctx context.Context) (context.Context, context.CancelFunc) { l := <-ld.lockContext return mergeContext(l.Context(), ctx) } func newSharedLock(ctx context.Context, objAPI ObjectLayer, lockName string) *sharedLock { l := &sharedLock{ lockContext: make(chan LockContext), } go l.backgroundRoutine(ctx, objAPI, lockName) return l
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 13 09:26:38 GMT 2023 - 2.3K bytes - Click Count (0)