[PATCH, libstdc++] Improve slightly __cxa_guard_acquire
Thiago Macieira
thiago.macieira@intel.com
Thu Aug 30 10:48:00 GMT 2012
Hello
The attached patch is a simple improvement to make a thread that failed to set
the waiting bit to exit the function earlier, if it detects that another
thread has successfully finished initialising. It matches the CAS code from a
few lines above.
The change from RELAXED to ACQUIRE is noted in the previous patch I've just
sent.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exit-the-loop-earlier.patch
Type: text/x-patch
Size: 929 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120830/bf109b0e/attachment.bin>
More information about the Libstdc++
mailing list