]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Only use __gthread_yield if gthreads is available
authorMatheus Castanho <msc@linux.ibm.com>
Fri, 9 Jul 2021 14:13:38 +0000 (15:13 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 9 Jul 2021 14:13:38 +0000 (15:13 +0100)
commit2e345e4ad6bb6595a9e3b182aa349d4f306b0921
treeb355761aeb4d21401db65202bc63a6618fa66656
parent7802ee7b0181dcd4e4c40047d67a1b2a6cf06a57
libstdc++: Only use __gthread_yield if gthreads is available

libstdc++-v3/ChangeLog:

* include/std/mutex (__lock_impl): Check
_GLIBCXX_HAS_GTHREADS before using __gthread_yield.
libstdc++-v3/include/std/mutex