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

--- Comment #27 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Created attachment 63214
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63214&action=edit
Patch based on ID comparison

This patch uses Jerry's, adjusted for the comparison of the result
of __gthread_self () to the locking unit.

This passes regression-test on Linux with a new glibc, but it would be
important to test this on a system where pthreads are not automatically
linked.

Any idea where this could be tested?

Reply via email to