diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-07-20 08:56:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-07-20 08:56:05 +0000 |
commit | 80f536dbf20510cbabdb042c30baa453d0b069c1 (patch) | |
tree | 63be8c7d248de20158ef492570d1b18b55a0cf40 /nptl/Makefile | |
parent | 4e0dc4af0b279a659b94d66beb1397eb473af7d2 (diff) | |
download | glibc-80f536dbf20510cbabdb042c30baa453d0b069c1.tar glibc-80f536dbf20510cbabdb042c30baa453d0b069c1.tar.gz glibc-80f536dbf20510cbabdb042c30baa453d0b069c1.tar.bz2 glibc-80f536dbf20510cbabdb042c30baa453d0b069c1.zip |
Update.
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.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r-- | nptl/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index b562e6618c..4c7749eb48 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -117,6 +117,7 @@ libpthread-routines = init events version \ herrno res pt-allocrtsig \ pthread_kill_other_threads \ pthread_getaffinity pthread_setaffinity \ + pthread_attr_getaffinity pthread_attr_setaffinity \ cleanup_routine libpthread-shared-only-routines = version pt-allocrtsig |