New API to set default thread attributes
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Sat, 15 Jun 2013 06:54:15 +0000 (12:24 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Sat, 15 Jun 2013 06:54:15 +0000 (12:24 +0530)
commit61dd6208fb1e59a423b6dfa712a3c896c34b2590
tree3417035a17046120bfedeafe2e7db9e366380101
parent601eb33debf0c7548f52ba72cec4b3f362105e39
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.
49 files changed:
ChangeLog
NEWS
Versions.def
nptl/ChangeLog
nptl/Makefile
nptl/Versions
nptl/allocatestack.c
nptl/nptl-init.c
nptl/pthreadP.h
nptl/pthread_attr_getstacksize.c
nptl/pthread_create.c
nptl/pthread_getattr_default_np.c [new file with mode: 0644]
nptl/pthread_setattr_default_np.c [new file with mode: 0644]
nptl/sysdeps/pthread/pthread.h
nptl/tst-default-attr.c [new file with mode: 0644]
nptl/vars.c
ports/ChangeLog.aarch64
ports/ChangeLog.alpha
ports/ChangeLog.arm
ports/ChangeLog.ia64
ports/ChangeLog.m68k
ports/ChangeLog.microblaze
ports/ChangeLog.mips
ports/ChangeLog.powerpc
ports/ChangeLog.tile
ports/sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist
ports/sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist
sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist