Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 02:00:32 -0700
From:      Alfred Perlstein <bright@mu.org>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        current@FreeBSD.org, net@FreeBSD.org
Subject:   Re: new zero copy sockets patches available
Message-ID:  <20020518090032.GO20683@elvis.mu.org>
In-Reply-To: <20020518003046.A36510@panzer.kdm.org>
References:  <20020517233950.A36169@panzer.kdm.org> <20020518060255.GN20683@elvis.mu.org> <20020518003046.A36510@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Kenneth D. Merry <ken@kdm.org> [020517 23:31] wrote:
> 
> The problem here is that the mutex needs to be initialized before I can
> acquire it, and there's going to be a race between checking to see
> whether it has been initialized and actually initializing it.
> 
...
> Suggestions?

*slaps forhead*

Probably a SYSINIT?

> Cool, thanks for the feedback!

np, this is promising work!

-- 
-Alfred Perlstein [alfred@freebsd.org]
'Instead of asking why a piece of software is using "1970s technology,"
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

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




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