Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 1996 10:05:31 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Jeffrey Hsu <hsu@freefall.freebsd.org>
Cc:        jb@cimlogic.com.au, hackers@freebsd.org
Subject:   Re: libc_r bug
Message-ID:  <Pine.SV4.3.93.960923100330.11191C-100000@parkplace.cet.co.jp>
In-Reply-To: <199609220613.XAA28775@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Sep 1996, Jeffrey Hsu wrote:

>   > _thread_fd_table_init() just sets up
>   > the table for a fd. fds 0, 1 and 2 don't have to be valid.
> 
> Since we can't tell whether a given fd might need a call to
> _thread_fd_table_init() or not, the correctness before all else
> principle would argue for either pre-allocating all the fd entries
> or doing it on demand by placing a call to _thread_fd_table_init()
> in write() and all the other places where it might be needed.  Of
> these two, I prefer the second.  What about you?
> 

I prefer on demand too.

Regards,


Mike Hancock




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.93.960923100330.11191C-100000>