Add a WITNESS_WARN check to STOPEVENT() to match the one in _STOPEVENT().
This commit is contained in:
parent
29fa5c67e4
commit
4c99145742
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277960
@ -752,6 +752,8 @@ extern pid_t pid_max;
|
||||
|
||||
|
||||
#define STOPEVENT(p, e, v) do { \
|
||||
WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, \
|
||||
"checking stopevent %d", (e)); \
|
||||
if ((p)->p_stops & (e)) { \
|
||||
PROC_LOCK(p); \
|
||||
stopevent((p), (e), (v)); \
|
||||
|
Loading…
Reference in New Issue
Block a user