mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 11:50:06 +00:00
2c0b891afe
* sysdeps/unix/sysv/linux/smp.h: New file. * sysdeps/unix/sysv/linux/sh/smp.h: New file. * init.c: Define __is_smp. (__pthread_initialize_minimal_internal): Call is_smp_system to initialize __is_smp. * pthreadP.h: Declare __is_smp. Define MAX_ADAPTIVE_COUNT is necessary. * pthread_mutex_init.c: Add comment regarding __spins field. * pthread_mutex_lock.c: Implement adaptive mutex type. * pthread_mutex_timedlock.c: Likewise. * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_mutex_t): Add __spins field. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Define lll_mutex_cond_trylock. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Likewise. Define BUSY_WAIT_NOP. * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise. * tst-mutex5.c: Add support for testing adaptive mutexes. * tst-mutex7.c: Likewise. * tst-mutex5a.c: New file. * tst-mutex7a.c: New file. * Makefile (tests): Add tst-mutex5a and tst-mutex7a. |
||
---|---|---|
.. | ||
alpha | ||
bits | ||
i386 | ||
ia64 | ||
powerpc | ||
s390 | ||
sh | ||
sparc | ||
x86_64 | ||
allocrtsig.c | ||
configure | ||
createthread.c | ||
fork.c | ||
fork.h | ||
getpid.c | ||
Implies | ||
internaltypes.h | ||
jmp-unwind.c | ||
kernel-posix-timers.h | ||
libc_multiple_threads.c | ||
libc_pthread_init.c | ||
libc-lowlevellock.c | ||
lowlevelbarrier.sym | ||
lowlevelcond.sym | ||
lowlevellock.c | ||
lowlevelrwlock.sym | ||
Makefile | ||
pt-fork.c | ||
pt-raise.c | ||
pthread_attr_getaffinity.c | ||
pthread_attr_setaffinity.c | ||
pthread_getaffinity.c | ||
pthread_kill.c | ||
pthread_mutex_cond_lock.c | ||
pthread_setaffinity.c | ||
pthread_yield.c | ||
raise.c | ||
register-atfork.c | ||
sem_post.c | ||
sem_timedwait.c | ||
sem_trywait.c | ||
sem_wait.c | ||
sigtimedwait.c | ||
sigwait.c | ||
sigwaitinfo.c | ||
sleep.c | ||
smp.h | ||
timer_create.c | ||
timer_delete.c | ||
timer_getoverr.c | ||
timer_gettime.c | ||
timer_routines.c | ||
timer_settime.c | ||
unregister-atfork.c | ||
unwindbuf.sym | ||
Versions |