Mutex questions
--001636c932cabeb7000483e30b49
Content-Type: text/plain; charset=UTF-8
Hi,
Why are there mtx_spinlock_ex / mtx_spinlock_sh, when spin_lock_rd /
spin_lock_wr exist?
Also, if I'm writing new code, why might I want to use lockmgr locks vs
mtx_* locks (or vice versa)?
Thanks,
-- vs
--001636c932cabeb7000483e30b49
Content-Type: text/html; charset=UTF-8
Hi,<div><br></div><div>Why are there mtx_spinlock_ex / mtx_spinlock_sh, when spin_lock_rd / spin_lock_wr exist?</div><div><br></div><div>Also, if I'm writing new code, why might I want to use lockmgr locks vs mtx_* locks (or vice versa)?</div>
<div><br></div><div>Thanks,<br clear="all">-- vs<br>
</div>
--001636c932cabeb7000483e30b49--