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:
Konstantin Belousov 2006-08-21 12:45:19 +00:00
parent ae277cc673
commit 653ed924e4

View File

@ -138,6 +138,8 @@ Attempts to upgrade an exclusive lock will cause a
.It Dv LK_UPGRADE
Upgrade a shared lock to an exclusive lock.
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
.Xr panic 9 .
.It Dv LK_RELEASE