Date: Wed, 18 Feb 2004 09:40:59 -0800 From: Marcel Moolenaar <marcel@xcllnt.net> To: John Baldwin <jhb@FreeBSD.org> Cc: Jun Kuriyama <kuriyama@imgsrc.co.jp> Subject: Re: 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 Message-ID: <20040218174059.GC7878@ns1.xcllnt.net> In-Reply-To: <200402180839.09285.jhb@FreeBSD.org> References: <200401192127.i0JLRBL3041817@repoman.freebsd.org> <20040218093149.A19121@gamplex.bde.org> <20040218010034.GA64412@ns1.xcllnt.net> <200402180839.09285.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@xcllnt.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040218174059.GC7878>