Re: [PATCH] please review. file descriptor passing for libc_r.

From: Daniel Eischen <eischen_at_vigrid.com>
Date: Sat, 22 Nov 2003 23:46:13 -0500 (EST)
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 ;-)

-- 
Dan Eischen
Received on Sat Nov 22 2003 - 19:46:17 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC