This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] |
This change adds destructors to the mutex types in the library, it's not trivial and could do with more testing on platforms where thread model != posix. I hacked the gthr headers to reproduce leaks under valgrind and think I've tested all the code paths, but I don't have anything suitable to add to the testsuite. PR libstdc++/46455 * include/std/mutex: Define destructors for mutex types which use an init function. * include/ext/concurrence.h: Likewise. Tested x86_64-linux, I plan to commit this to trunk in the next day or two.
Attachment:
pr46455-full.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |