Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2003 21:58:39 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        current@freebsd.org
Subject:   Re: [PATCH] please review. file descriptor passing for libc_r.
Message-ID:  <20031123055839.GH35957@elvis.mu.org>
In-Reply-To: <Pine.GSO.4.10.10311222342030.18080-100000@pcnet5.pcnet.com>
References:  <20031123023649.GG35957@elvis.mu.org> <Pine.GSO.4.10.10311222342030.18080-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Daniel Eischen <eischen@vigrid.com> [031122 20:46] wrote:
> On Sat, 22 Nov 2003, Alfred Perlstein wrote:
> 
> > This should make things work properly for apps that are linked
> > against libc_r and use filedescriptor passing.
> > 
> > Can someone review and approve it please?
> 
> This isn't needed.  Any time a file descriptor is used, a call
> should first be made to _FD_LOCK() which ends up calling
> _thread_fd_lock() which then calls _thread_fd_table_init()
> for the file descriptor.
> 
> If there's a reason that this is necessary, then I think it
> is just covering up another problem.  I think I made this
> same comment a couple of years ago ;-)

Oh, ok paranioa on my part then.  thanks!

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright@mu.org cell: 408-480-4684



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