------- Comment #13 from jpr at csc dot fi 2008-02-07 05:07 ------- Subject: Re: I/O leaks handles/memory on Windows XP
> > ------- Comment #12 from tkoenig at gcc dot gnu dot org 2008-02-06 21:49 ------- > Just wondering... is this a regression? At least g77 runs the two examples (in comments #1 & #7) without problems... Reading windows docs: somewhere windows CloseHandle() should be called to close the Semaphore created by CreateSemaphore() called by __gthr_win32_mutex_init_function(). Otherwise the __gthr_win32.c code might be OK (ReleaseSemaphore() only modifies the semaphore usage count... i thought something else.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063