std::call_once without TLS

Jonathan Wakely jwakely.gcc@gmail.com
Fri Apr 3 23:23:00 GMT 2009


2009/4/4 Jonathan Wakely <jwakely.gcc@gmail.com>:
> A build with --disable-tls causes this new test to fail in
> unique_lock::lock() when a second thread tries to lock the global
> mutex that is already locked.
>
> Tested x86-64-unknown-linux-gnu with --disable-tls, ok for trunk and 4.4?

sorry, wrong patch - the one I tested replaces <iostream> with
<testsuite_hooks.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: once3.patch
Type: text/x-patch
Size: 5338 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090403/7a6913d5/attachment.bin>


More information about the Libstdc++ mailing list