Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 00:24:44 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        "Andrew R. Reiter" <arr@FreeBSD.org>
Cc:        smp@FreeBSD.org
Subject:   Re: Where to initialize certain locks...
Message-ID:  <20020402082444.GL93885@elvis.mu.org>
In-Reply-To: <Pine.NEB.3.96L.1020402031510.18134K-100000@fledge.watson.org>
References:  <Pine.NEB.3.96L.1020402025203.18134J-100000@fledge.watson.org> <Pine.NEB.3.96L.1020402031510.18134K-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Andrew R. Reiter <arr@FreeBSD.org> [020402 00:18] wrote:
> On Tue, 2 Apr 2002, Andrew R. Reiter wrote:
> 
> :On Mon, 1 Apr 2002, Alfred Perlstein wrote:
> :
> ::Your concern is valid, perhaps a macro that automagically makes
> ::a sysinit to init a mutex?  Sort of like the "SYSCALL_MODULE_HELPER"
> ::stuff, but not as ugly?
> ::
> :
> :How about something along the lines of:
> 
> Sorry to reply to my own post, but I feel it necesary to mention that I
> dislike having to pass in sub and order... 

Make it implicitly part of the macro.

This code looks good so far, fix that and it should be good to go.

-Alfred

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




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