We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2699aa commit 0b9308dCopy full SHA for 0b9308d
extensions/internal/lock/lock.go
@@ -28,7 +28,9 @@ type flocker interface {
28
}
29
30
// Lock uses a file lock to coordinate access to resources shared with other processes.
31
-// Callers are responsible for preventing races within a process.
+// Callers are responsible for preventing races within a process. Lock applies advisory
32
+// locks on Linux and macOS and is therefore unreliable on these platforms when several
33
+// processes concurrently try to acquire the lock.
34
type Lock struct {
35
f flocker
36
retryDelay time.Duration
0 commit comments