https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57060
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2014-12-21 Target Milestone|--- |5.0 Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Another option would be to return a non-zero id when !__gthread_active_p() instead of calling pthread_self()