diff options
author | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-02-04 07:53:35 +0000 |
---|---|---|
committer | Pawel Jakub Dawidek <pjd@FreeBSD.org> | 2004-02-04 07:53:35 +0000 |
commit | 4133136ba7e3c75ec12ba2bf6f4d7eb0207d9421 (patch) | |
tree | c772260aeb8f96598009acd9a40007aabf85a497 /sys | |
parent | c3af3c8154f3f5d0c627de254721fdddfee87757 (diff) | |
download | src-4133136ba7e3c75ec12ba2bf6f4d7eb0207d9421.tar.gz src-4133136ba7e3c75ec12ba2bf6f4d7eb0207d9421.zip |
Add SX_UNLOCKED define. It will be used with sx_assert(9) to be
sure that current thread does not hold given sx(9) lock.
Reviewed by: jhb
Approved by: jhb, scottl (mentor)
Notes
Notes:
svn path=/head/; revision=125419
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/sx.h b/sys/sys/sx.h index 5b9545cb50d5..3dc9be081c88 100644 --- a/sys/sys/sx.h +++ b/sys/sys/sx.h @@ -88,6 +88,7 @@ struct sx_args { #define SX_LOCKED LA_LOCKED #define SX_SLOCKED LA_SLOCKED #define SX_XLOCKED LA_XLOCKED +#define SX_UNLOCKED LA_UNLOCKED #endif /* INVARIANTS || INVARIANT_SUPPORT */ #ifdef INVARIANTS |