OSDN Git Service

2012-09-09 Thiago Macieira <thiago.macieira@intel.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Sep 2012 05:08:07 +0000 (05:08 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 10 Sep 2012 05:08:07 +0000 (05:08 +0000)
commit71d9e21ee690b6a1c74454fea5331a9246411b26
treec3c8ef7bc7b08d37c17ed873db50d41bd2be36ab
parentcb8a7e47e63ef950032988160b38eedbdfacb3aa
2012-09-09  Thiago Macieira  <thiago.macieira@intel.com>

PR libstdc++/54172
        * libsupc++/guard.cc (__cxa_guard_acquire): Exit the loop earlier if
        we detect that another thread has had success. Don't compare_exchange
        from a finished state back to a waiting state. Comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191125 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/guard.cc