Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const LockEOF + type Lock struct + Readers map[UniqueID]OwnerInfo + Writer UniqueID + WriterInfo OwnerInfo + type LockType int + const ReadLock + const WriteLock + type Locks struct + func (l *Locks) EventRegister(e *waiter.Entry) error + func (l *Locks) EventUnregister(e *waiter.Entry) + func (l *Locks) LockRegion(ctx context.Context, uid UniqueID, ownerPID int32, t LockType, r LockRange, ...) error + func (l *Locks) Readiness(waiter.EventMask) waiter.EventMask + func (l *Locks) TestRegion(ctx context.Context, uid UniqueID, t LockType, r LockRange, ofd bool) linux.Flock + func (l *Locks) UnlockRegion(uid UniqueID, r LockRange) + type OwnerInfo struct + OFD bool + PID int32 + type UniqueID any