Date: Sat, 17 Mar 2007 21:17:33 +0100 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/kern sched_ule.c Message-ID: <20070317201733.GA4054@britannica.bec.de> In-Reply-To: <200703172100.13218.max@love2party.net> References: <200703171813.l2HIDXWI008212@repoman.freebsd.org> <20070317110821.I560@10.0.0.1> <200703172100.13218.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 17, 2007 at 09:00:05PM +0100, Max Laier wrote: > I find this strange. According to the spec "(Decrementing is equivalent > to subtracting 1.)", but "pri = --pri % RQ_NQS;" will behave like you > expect, while "pri = (pri - 1) % RQ_NQS;" clearly didn't. Isn't pri = --pri invalid (in the sense of undefined) as well? Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070317201733.GA4054>