new internal locking primitive; drop spinlocks
authorRich Felker <dalias@aerifal.cx>
Tue, 24 Apr 2012 10:36:50 +0000 (06:36 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 24 Apr 2012 10:36:50 +0000 (06:36 -0400)
commitf34d0ea511e552851c8c6148fb113816f41e6759
tree51b1dbdf2058697ab51782b96c6317f2c6051d5a
parent1b0ce9af6d2aa7b92edaf3e9c631cb635bae22bd
new internal locking primitive; drop spinlocks

we use priority inheritance futexes if possible so that the library
cannot hit internal priority inversion deadlocks in the presence of
realtime priority scheduling (full support to be added later).
src/internal/libc.h
src/thread/__lock.c