mirror of git://sourceware.org/git/glibc.git
2003-07-20 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add pthread_attr_getaffinity and pthread_attr_setaffinity. * Versions [libpthread] (GLIBC_2.3.3): Likewise. * sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: New file. * sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: New file. * pthread_attr_destroy.c: Free cpuset element if allocated. * pthread_create.c: Pass iattr as additional parameter to create_thread. * sysdeps/pthread/createthread.c: If attribute is provided and a new thread is created with affinity set or scheduling parameters, start thread with CLONE_STOPPED. * sysdeps/pthread/pthread.h: Declare pthread_attr_getaffinity and pthread_attr_setaffinity. * sysdeps/unix/sysv/linux/internaltypes.h (struct pthread_attr): Add cpuset element. |
||
|---|---|---|
| .. | ||
| bits | ||
| Makefile | ||
| Subdirs | ||
| allocalim.h | ||
| configure | ||
| configure.in | ||
| createthread.c | ||
| flockfile.c | ||
| ftrylockfile.c | ||
| funlockfile.c | ||
| librt-cancellation.c | ||
| list.h | ||
| posix-timer.h | ||
| pt-initfini.c | ||
| pthread-functions.h | ||
| pthread.h | ||
| pthread_barrier_wait.c | ||
| pthread_cond_broadcast.c | ||
| pthread_cond_signal.c | ||
| pthread_cond_timedwait.c | ||
| pthread_cond_wait.c | ||
| pthread_getcpuclockid.c | ||
| pthread_once.c | ||
| pthread_rwlock_rdlock.c | ||
| pthread_rwlock_timedrdlock.c | ||
| pthread_rwlock_timedwrlock.c | ||
| pthread_rwlock_unlock.c | ||
| pthread_rwlock_wrlock.c | ||
| pthread_sigmask.c | ||
| pthread_spin_destroy.c | ||
| pthread_spin_init.c | ||
| pthread_spin_unlock.c | ||
| sigaction.c | ||
| sigfillset.c | ||
| sigprocmask.c | ||
| tcb-offsets.h | ||
| timer_create.c | ||
| timer_delete.c | ||
| timer_getoverr.c | ||
| timer_gettime.c | ||
| timer_routines.c | ||
| timer_settime.c | ||
| tst-timer.c | ||