fix several locks that weren't updated right for new futex-based __lock
authorRich Felker <dalias@aerifal.cx>
Thu, 12 Jul 2012 15:23:43 +0000 (11:23 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 12 Jul 2012 15:23:43 +0000 (11:23 -0400)
commitbbbe87e35cfeef593e23010e35528e722027567f
tree6027b9323ad2232739d6ea85c9568a654ca1e506
parentc89f130f39b413d1fb1733166ca63d694685c529
fix several locks that weren't updated right for new futex-based __lock

these could have caused memory corruption due to invalid accesses to
the next field. all should be fixed now; I found the errors with fgrep
-r '__lock(&', which is bogus since the argument should be an array.
src/internal/pthread_impl.h
src/thread/pthread_create.c
src/thread/pthread_detach.c
src/thread/pthread_kill.c