HomeFreeBSD

Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).

Description

Add _NEW flag to mtx(9), sx(9), rmlock(9) and rwlock(9).
A _NEW flag passed to _init_flags() to avoid check for double-init.

Differential Revision: https://reviews.freebsd.org/D1208
Reviewed by: jhb, wblock
MFC after: 1 Month

Event Timeline