Note that LK_UPGRADE may drop the shared lock before taking the
exclusive one. Reviewed and edited by: tegge MFC after: 3 days Approved by: pjd (mentor)
This commit is contained in:
parent
65aa408be8
commit
4bb293498f
@ -138,6 +138,8 @@ Attempts to upgrade an exclusive lock will cause a
|
|||||||
.It Dv LK_UPGRADE
|
.It Dv LK_UPGRADE
|
||||||
Upgrade a shared lock to an exclusive lock.
|
Upgrade a shared lock to an exclusive lock.
|
||||||
If this call fails, the shared lock is lost.
|
If this call fails, the shared lock is lost.
|
||||||
|
During the upgrade, the shared lock could
|
||||||
|
be temporarily dropped.
|
||||||
Attempts to upgrade an exclusive lock will cause a
|
Attempts to upgrade an exclusive lock will cause a
|
||||||
.Xr panic 9 .
|
.Xr panic 9 .
|
||||||
.It Dv LK_RELEASE
|
.It Dv LK_RELEASE
|
||||||
|
Loading…
Reference in New Issue
Block a user