reorganize pthread data structures and move the definitions to alltypes.h
authorRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 22:16:20 +0000 (17:16 -0500)
committerRich Felker <dalias@aerifal.cx>
Thu, 17 Feb 2011 22:16:20 +0000 (17:16 -0500)
commite882756311c7b06e59fcc8e582f03852b7dcfd30
treeaead1d2311ed1d3b68dd2b1f02ff6eed2c5ea2ea
parent4fd159568aa1852fbbe6c11d35ccecaec3715d7c
reorganize pthread data structures and move the definitions to alltypes.h

this allows sys/types.h to provide the pthread types, as required by
POSIX. this design also facilitates forcing ABI-compatible sizes in
the arch-specific alltypes.h, while eliminating the need for
developers changing the internals of the pthread types to poke around
with arch-specific headers they may not be able to test.
28 files changed:
arch/i386/bits/alltypes.h.sh
arch/x86_64/bits/alltypes.h.sh
include/pthread.h
include/sys/types.h
src/internal/pthread_impl.h
src/thread/pthread_attr_getdetachstate.c
src/thread/pthread_attr_getguardsize.c
src/thread/pthread_attr_getstacksize.c
src/thread/pthread_attr_setdetachstate.c
src/thread/pthread_attr_setguardsize.c
src/thread/pthread_attr_setstacksize.c
src/thread/pthread_barrier_init.c
src/thread/pthread_barrier_wait.c
src/thread/pthread_cond_broadcast.c
src/thread/pthread_cond_signal.c
src/thread/pthread_cond_timedwait.c
src/thread/pthread_create.c
src/thread/pthread_mutex_lock.c
src/thread/pthread_mutex_timedlock.c
src/thread/pthread_mutex_trylock.c
src/thread/pthread_mutex_unlock.c
src/thread/pthread_rwlock_rdlock.c
src/thread/pthread_rwlock_timedrdlock.c
src/thread/pthread_rwlock_timedwrlock.c
src/thread/pthread_rwlock_tryrdlock.c
src/thread/pthread_rwlock_trywrlock.c
src/thread/pthread_rwlock_unlock.c
src/thread/pthread_rwlock_wrlock.c