This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP
- From: "jpr at csc dot fi" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2008 12:12:24 -0000
- Subject: [Bug libfortran/35063] [Regression wrt g77] I/O leaks handles/memory on Windows XP
- References: <bug-35063-12481@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from jpr at csc dot fi 2008-02-08 12:12 -------
Subject: Re: [Regression wrt g77] I/O leaks handles/memory
on Windows XP
> This might be desirable for other reasons, but it will not fix the problem
> completely.
Yeah well, the easy way out here would be to include
"__gthread_mutex_destroy" in the gthread-api. This should call
CloseHandle() (or a new __gthr_win32_mutex_destroy() with a call to
CloseHandle()) for the win32 threads and pthread_mutex_destroy() for the
posix threads, etc... and call the new function in a few relevant places
in libgfortran...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063