------- Comment #36 from jvdelisle at gcc dot gnu dot org  2008-02-10 18:07 
-------
Subject: Bug 35063

Author: jvdelisle
Date: Sun Feb 10 18:06:34 2008
New Revision: 132217

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132217
Log:
2008-02-10  Danny Smith  <[EMAIL PROTECTED]>

        PR gcc/35063
        * gthr-win32.h (__gthread_mutex_destroy_function): New function
        to CloseHandle after unlocking to prevent accumulation of handle
        count. 

2008-02-10  Jerry DeLisle  <[EMAIL PROTECTED]>

        PR libfortran/35063
        * io/unit.c (destroy_unit_mutex): New function that uses
        __gthread_mutex_destroy_function or pthread_mutex_destroy after
        unlocking and before free_mem for final closure of I/O unit.
        (delete_root): Use new function.
        (free_internal_unit): Likewise.
        (close_unit_1): Likewise.

Modified:
    trunk/ChangeLog
    trunk/gcc/gthr-win32.h
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/unit.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35063

Reply via email to