OSDN Git Service

fix pthread_join wait call: thread termination tid futex is not private
authorRich Felker <dalias@aerifal.cx>
Sat, 10 Sep 2011 03:10:27 +0000 (23:10 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 10 Sep 2011 03:10:27 +0000 (23:10 -0400)
commiteb351a9e633e5893f0c3bb48808c3ed0280585b5
treee7172e2c99694f88710cd322611af2273b7ad8d1
parentb4de6f93aed733b8fc8d103e5ced69ebe7d659e6
fix pthread_join wait call: thread termination tid futex is not private

this seeme to be the bug that prevented enabling of private futex
support. i'm going to hold off on switching to private futexes until
after the next release, and until i get a chance to audit all
wait/wake calls to make sure they're using the correct private
argument, but with this change it should be safe to enable private
futex support.
src/thread/pthread_join.c