cvs commit: src/sys/alpha/alpha support.s src/sys/i386/i386
swtch.s src/sys/kern kern_shutdown.c src/sys/sys systm.h
Marcel Moolenaar
marcel at xcllnt.net
Wed Feb 18 09:41:04 PST 2004
On Wed, Feb 18, 2004 at 08:39:09AM -0500, John Baldwin wrote:
>
> Use MPASS() (macros that came in with SMPng from BSD/OS). MPASS(foo) will
> work much like assert() in userland including file/line number info. I use
> it a lot for simple != NULL tests and the like.
I like the behaviour of MPASS(), just not its name and the fact it's
defined in lock.h. If we can call it ASSERT and move its definition
to systm.h, then I'm hooked.
--
Marcel Moolenaar USPA: A-39004 marcel at xcllnt.net
More information about the cvs-src
mailing list