diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-15 12:24:15 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-06-15 12:24:15 +0530 |
commit | 61dd6208fb1e59a423b6dfa712a3c896c34b2590 (patch) | |
tree | 3417035a17046120bfedeafe2e7db9e366380101 /sysdeps/unix/sysv/linux/x86_64 | |
parent | 601eb33debf0c7548f52ba72cec4b3f362105e39 (diff) | |
download | glibc-61dd6208fb1e59a423b6dfa712a3c896c34b2590.tar glibc-61dd6208fb1e59a423b6dfa712a3c896c34b2590.tar.gz glibc-61dd6208fb1e59a423b6dfa712a3c896c34b2590.tar.bz2 glibc-61dd6208fb1e59a423b6dfa712a3c896c34b2590.zip |
New API to set default thread attributes
This patch introduces two new convenience functions to set the default
thread attributes used for creating threads. This allows a programmer
to set the default thread attributes just once in a process and then
run pthread_create without additional attributes.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist index 7c33f350d4..1b5192b592 100644 --- a/sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist @@ -8,6 +8,10 @@ GLIBC_2.12 pthread_mutexattr_getrobust F pthread_mutexattr_setrobust F pthread_setname_np F +GLIBC_2.18 + GLIBC_2.18 A + pthread_getattr_default_np F + pthread_setattr_default_np F GLIBC_2.2.5 GLIBC_2.2.5 A _IO_flockfile F diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist b/sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist index b07d16f784..328f69ad42 100644 --- a/sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist @@ -222,3 +222,7 @@ GLIBC_2.16 wait F waitpid F write F +GLIBC_2.18 + GLIBC_2.18 A + pthread_getattr_default_np F + pthread_setattr_default_np F |