Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2001 19:22:03 -0600
From:      Alfred Perlstein <bright@mu.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        Matthew Dillon <dillon@apollo.backplane.com>, freebsd-arch@freebsd.org
Subject:   Re: Need review - patch for socket locking and ref counting
Message-ID:  <20011114192203.H13393@elvis.mu.org>
In-Reply-To: <Pine.BSF.4.21.0111141712380.4779-100000@InterJet.elischer.org>; from julian@elischer.org on Wed, Nov 14, 2001 at 05:17:00PM -0800
References:  <200111150015.fAF0Flb09186@apollo.backplane.com> <Pine.BSF.4.21.0111141712380.4779-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, 14 Nov 2001, Matthew Dillon wrote:
> 
> >     This patch adds a reference count to the socket structure
> >     and cleans up & encapulates the API calls.  I do not yet
> >     attempt to use sxlocks to lock the socket structure (to allow
> >     us to multi-thread the network stack), but that is the
> >     direction I am headed.

* Julian Elischer <julian@elischer.org> [011114 19:20] wrote:
> how does it cope with the old
> "unix domain socket being passed across itself" case?
> 
> 
> (I'm guessing it's references on the pcb that are tricky there and not
> references on the sockets)

That's handled in the "struct file" handling code.

-- 
-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.'
                           http://www.morons.org/rants/gpl-harmful.php3

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




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