Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 09:39:17 +0330
From:      Hooman Fazaeli <hoomanfazaeli@gmail.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   rwlock(9) upgrade
Message-ID:  <5249158D.5010101@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

For rwlock(9), there is no rwlock_upgrade function.
Is it safe to use rw_wlock() for that purpose? In other words, Does calling
rw_wlock() upgradeanalready r-locked lock?

-- 

Best regards.
Hooman Fazaeli




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5249158D.5010101>