This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
On 27/01/14 17:58 +0000, Jonathan Wakely wrote:
This fixes a tsan warning in shared_ptr by replacing the non-atomic load with a call to _M_get_use_count() which does a relaxed atomic load. Tested x86_64-linux, committed to trunk. Will commit to 4.8 soon too.
Here's the commit to the 4.8 branch.
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |