Anyone object greatly to making a change to the sx(9) API to use an sx_assert() function similar to mtx_assert() for mutexes instead of having several SX_ASSERT_FOO macros?
Here is what the new API would look like: sx_assert(&foo_lock, SX_LOCKED); sx_assert(&bar_lock, SX_SLOCKED); vs. SX_ASSERT_LOCKED(&foo_lock); SX_ASSERT_SLOCKED(&bar_lock); -- John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message