Date: Sat, 18 May 2002 10:35:15 -0400 (EDT) From: "Andrew R. Reiter" <arr@FreeBSD.org> To: Alfred Perlstein <bright@mu.org> Cc: "Kenneth D. Merry" <ken@kdm.org>, current@FreeBSD.org, net@FreeBSD.org Subject: Re: new zero copy sockets patches available Message-ID: <Pine.NEB.3.96L.1020518103433.72698A-100000@fledge.watson.org> In-Reply-To: <3CE61A25.61C789FA@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
:Alfred Perlstein wrote: :> * 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? mutex(9) and sx(9) describe two macros for this purpose. -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020518103433.72698A-100000>