- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newSharedLock (0.09 sec)
-
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
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 13 09:26:38 UTC 2023 - 2.3K bytes - Viewed (0)