Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Feb 2002 23:35:25 +0900
From:      Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_sx.c
Message-ID:  <200202051435.g15EZPAu035551@bunko.carrots.uucp.r.dl.itc.u-tokyo.ac.jp>
In-Reply-To: <XFMail.020204234229.jhb@FreeBSD.org>
References:  <200201180921.g0I9LFn30513@freefall.freebsd.org> <XFMail.020204234229.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 04 Feb 2002 23:42:29 -0500 (EST),
  John Baldwin <jhb@FreeBSD.org> said:

>> tanimura    2002/01/18 01:21:15 PST
>> 
>> Modified files:
>> sys/kern             kern_sx.c 
>> Log:
>> Invert the test of sx_xholder for SX_LOCKED. We need to warn if a
>> thread other than the curthread holds an sx.
>> 
>> While I am here, break a line at the end of warning.

jhb> Good catch, the default case also needs the newline.

panic() breaks a line on its own, so we do not need the newline.

-- 
Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202051435.g15EZPAu035551>