summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-16 12:27:18 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-16 12:27:18 -0800
commita032a6587011cbdac8c2f7e11f15dc4e592bbb55 (patch)
treeb8d8dfc6abf0168e098223c2134a3e4bd7640942
parent70f1d42b13a741f603472f405299e5d2938aa728 (diff)
mass sync with glibc nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--.gitignore1
-rw-r--r--include/atomic.h396
-rw-r--r--libpthread/nptl/.gitignore3
-rw-r--r--libpthread/nptl/ChangeLog3830
-rw-r--r--libpthread/nptl/DESIGN-barrier.txt44
-rw-r--r--libpthread/nptl/DESIGN-condvar.txt134
-rw-r--r--libpthread/nptl/DESIGN-rwlock.txt113
-rw-r--r--libpthread/nptl/DESIGN-sem.txt46
-rw-r--r--libpthread/nptl/Makefile.in7
-rw-r--r--libpthread/nptl/TODO31
-rw-r--r--libpthread/nptl/TODO-kernel20
-rw-r--r--libpthread/nptl/TODO-testing20
-rw-r--r--libpthread/nptl/allocatestack.c551
-rw-r--r--libpthread/nptl/cancellation.c20
-rw-r--r--libpthread/nptl/descr.h139
-rw-r--r--libpthread/nptl/forward.c32
-rw-r--r--libpthread/nptl/init.c177
-rw-r--r--libpthread/nptl/libc-cancellation.c99
-rw-r--r--libpthread/nptl/pt-cleanup.c4
-rw-r--r--libpthread/nptl/pt-system.c2
-rw-r--r--libpthread/nptl/pthread-errnos.sym1
-rw-r--r--libpthread/nptl/pthreadP.h152
-rw-r--r--libpthread/nptl/pthread_atfork.c7
-rw-r--r--libpthread/nptl/pthread_attr_destroy.c3
-rw-r--r--libpthread/nptl/pthread_attr_getdetachstate.c4
-rw-r--r--libpthread/nptl/pthread_attr_init.c7
-rw-r--r--libpthread/nptl/pthread_attr_setschedparam.c8
-rw-r--r--libpthread/nptl/pthread_attr_setstack.c2
-rw-r--r--libpthread/nptl/pthread_barrier_destroy.c9
-rw-r--r--libpthread/nptl/pthread_barrier_init.c36
-rw-r--r--libpthread/nptl/pthread_cancel.c11
-rw-r--r--libpthread/nptl/pthread_cond_destroy.c43
-rw-r--r--libpthread/nptl/pthread_cond_init.c10
-rw-r--r--libpthread/nptl/pthread_condattr_getclock.c4
-rw-r--r--libpthread/nptl/pthread_condattr_setclock.c7
-rw-r--r--libpthread/nptl/pthread_create.c122
-rw-r--r--libpthread/nptl/pthread_getattr_np.c88
-rw-r--r--libpthread/nptl/pthread_getschedparam.c12
-rw-r--r--libpthread/nptl/pthread_join.c84
-rw-r--r--libpthread/nptl/pthread_key_create.c55
-rw-r--r--libpthread/nptl/pthread_mutex_consistent.c37
-rw-r--r--libpthread/nptl/pthread_mutex_destroy.c12
-rw-r--r--libpthread/nptl/pthread_mutex_getprioceiling.c38
-rw-r--r--libpthread/nptl/pthread_mutex_init.c90
-rw-r--r--libpthread/nptl/pthread_mutex_lock.c436
-rw-r--r--libpthread/nptl/pthread_mutex_setprioceiling.c119
-rw-r--r--libpthread/nptl/pthread_mutex_timedlock.c402
-rw-r--r--libpthread/nptl/pthread_mutex_trylock.c334
-rw-r--r--libpthread/nptl/pthread_mutex_unlock.c256
-rw-r--r--libpthread/nptl/pthread_mutexattr_getprioceiling.c48
-rw-r--r--libpthread/nptl/pthread_mutexattr_getprotocol.c37
-rw-r--r--libpthread/nptl/pthread_mutexattr_getpshared.c6
-rw-r--r--libpthread/nptl/pthread_mutexattr_getrobust.c37
-rw-r--r--libpthread/nptl/pthread_mutexattr_gettype.c6
-rw-r--r--libpthread/nptl/pthread_mutexattr_init.c3
-rw-r--r--libpthread/nptl/pthread_mutexattr_setprioceiling.c47
-rw-r--r--libpthread/nptl/pthread_mutexattr_setprotocol.c41
-rw-r--r--libpthread/nptl/pthread_mutexattr_setpshared.c8
-rw-r--r--libpthread/nptl/pthread_mutexattr_setrobust.c44
-rw-r--r--libpthread/nptl/pthread_mutexattr_settype.c6
-rw-r--r--libpthread/nptl/pthread_rwlock_init.c38
-rw-r--r--libpthread/nptl/pthread_rwlock_tryrdlock.c11
-rw-r--r--libpthread/nptl/pthread_rwlock_trywrlock.c9
-rw-r--r--libpthread/nptl/pthread_setschedparam.c29
-rw-r--r--libpthread/nptl/pthread_setschedprio.c16
-rw-r--r--libpthread/nptl/pthread_setspecific.c6
-rw-r--r--libpthread/nptl/pthread_timedjoin.c10
-rw-r--r--libpthread/nptl/pthread_tryjoin.c8
-rw-r--r--libpthread/nptl/res.c1
-rw-r--r--libpthread/nptl/sem_close.c7
-rw-r--r--libpthread/nptl/sem_destroy.c3
-rw-r--r--libpthread/nptl/sem_getvalue.c6
-rw-r--r--libpthread/nptl/sem_init.c22
-rw-r--r--libpthread/nptl/sem_open.c47
-rw-r--r--libpthread/nptl/sem_unlink.c3
-rw-r--r--libpthread/nptl/semaphoreP.h6
-rw-r--r--libpthread/nptl/sysdeps/arm/tls.h1
-rw-r--r--libpthread/nptl/sysdeps/generic/lowlevellock.h21
-rw-r--r--libpthread/nptl/sysdeps/i386/pthread_spin_lock.c3
-rw-r--r--libpthread/nptl/sysdeps/i386/tcb-offsets.sym4
-rw-r--r--libpthread/nptl/sysdeps/i386/tls.h77
-rw-r--r--libpthread/nptl/sysdeps/powerpc/tcb-offsets.sym4
-rw-r--r--libpthread/nptl/sysdeps/powerpc/tls.h42
-rw-r--r--libpthread/nptl/sysdeps/pthread/Makefile.in9
-rw-r--r--libpthread/nptl/sysdeps/pthread/allocalim.h5
-rw-r--r--libpthread/nptl/sysdeps/pthread/bits/libc-lock.h54
-rw-r--r--libpthread/nptl/sysdeps/pthread/bits/sigthread.h8
-rw-r--r--libpthread/nptl/sysdeps/pthread/bits/stdio-lock.h14
-rw-r--r--libpthread/nptl/sysdeps/pthread/createthread.c18
-rw-r--r--libpthread/nptl/sysdeps/pthread/librt-cancellation.c91
-rw-r--r--libpthread/nptl/sysdeps/pthread/list.h15
-rw-r--r--libpthread/nptl/sysdeps/pthread/malloc-machine.h25
-rw-r--r--libpthread/nptl/sysdeps/pthread/pt-initfini.c4
-rw-r--r--libpthread/nptl/sysdeps/pthread/pt-longjmp.c2
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread-functions.h20
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread.h374
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_barrier_wait.c17
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_broadcast.c28
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_signal.c21
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_timedwait.c29
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_cond_wait.c51
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_once.c8
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_rdlock.c18
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c14
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_timedwrlock.c12
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_unlock.c16
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_rwlock_wrlock.c16
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_spin_destroy.c3
-rw-r--r--libpthread/nptl/sysdeps/pthread/setxid.h7
-rw-r--r--libpthread/nptl/sysdeps/pthread/sigaction.c13
-rw-r--r--libpthread/nptl/sysdeps/pthread/sigfillset.c2
-rw-r--r--libpthread/nptl/sysdeps/pthread/tpp.c172
-rw-r--r--libpthread/nptl/sysdeps/pthread/unwind-forcedunwind.c80
-rw-r--r--libpthread/nptl/sysdeps/pthread/unwind-resume.c10
-rw-r--r--libpthread/nptl/sysdeps/sh/tcb-offsets.sym4
-rw-r--r--libpthread/nptl/sysdeps/sh/tls.h54
-rw-r--r--libpthread/nptl/sysdeps/sparc/tcb-offsets.sym1
-rw-r--r--libpthread/nptl/sysdeps/sparc/tls.h52
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/Makefile.in43
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/Versions13
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/local_lim.h13
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h8
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/bits/semaphore.h3
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h255
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/pthread_once.c8
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h14
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/alpha/vfork.S2
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/atomic.h114
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/pthreadtypes.h16
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arm/bits/semaphore.h5
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.c55
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h407