This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GC patch: close /proc/stat file descriptor


Jeff Sturm wrote:

>The linux threads port looks at /proc/stat on startup to check for
>multiprocessors, but never closes it.  I can't see any reason to waste a
>file descriptor on it.
>
>Tested on i686-linux.
>
>2002-03-24  Jeff Sturm  <jsturm@one-point.com>
>
>	* linux_threads.c (GC_get_nprocs): Close file descriptor.
>

This looks fine.

regards

Bryce.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]