[Bug libstdc++/100164] [11 Regression] semaphore_impl not declared on AIX

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 20 23:04:59 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100164

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 50643
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50643
Disable <semaphore> on unsupported targets

+#else
+      __gthread_yield();

The changelog said you want to use __thread_yield(); there instead...


More information about the Gcc-bugs mailing list