re PR libstdc++/57440 (Memory usage with future and std containers)
authorKai Tietz <ktietz@redhat.com>
Tue, 14 Oct 2014 16:58:37 +0000 (18:58 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Tue, 14 Oct 2014 16:58:37 +0000 (18:58 +0200)
2014-10-14  Kai Tietz  <ktietz@redhat.com>

        PR libstdc++/57440
        * config/os/mingw32/os_defines.h (_GTHREAD_USE_MUTEX_INIT_FUNC):
        Define to avoid leak.
        * config/os/mingw32-w64/os_defines.h: Likewise.

From-SVN: r216210

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/mingw32-w64/os_defines.h
libstdc++-v3/config/os/mingw32/os_defines.h

index 141a002a038ad7630c894b48fbe9622068034abc..d7590a0cd6de4c5102d379abaa9762771333c1da 100644 (file)
@@ -1,3 +1,10 @@
+2014-10-14  Kai Tietz  <ktietz@redhat.com>
+
+       PR libstdc++/57440
+       * config/os/mingw32/os_defines.h (_GTHREAD_USE_MUTEX_INIT_FUNC):
+       Define to avoid leak.
+       * config/os/mingw32-w64/os_defines.h: Likewise.
+
 2014-10-13  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/57350
index 5e7aec8e458d4fc4bc9506dbfc387bf8ed021d2a..b0211f3f15b515a5fac7e066c1859973a6a76d6c 100644 (file)
@@ -83,4 +83,7 @@
 // their dtors are called
 #define _GLIBCXX_THREAD_ATEXIT_WIN32 1
 
+// See libstdc++/59807
+#define _GTHREAD_USE_MUTEX_INIT_FUNC 1
+
 #endif
index a48c976a0f35ea15d5100748ffcfc53cb7f51833..8e1fd51877fd7ccf710644d5871f98f088164af2 100644 (file)
@@ -75,4 +75,7 @@
 #define _GLIBCXX_LLP64 1
 #endif
 
+// See libstdc++/59807
+#define _GTHREAD_USE_MUTEX_INIT_FUNC 1
+
 #endif