Consolidate pthread_attr value validation
commitda1304bcc8d718f40e58d92726c0fbc7b0d0794d
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 22 Apr 2013 04:58:31 +0000 (22 10:28 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 22 Apr 2013 04:58:31 +0000 (22 10:28 +0530)
tree872f3f44330b1ec4faa83e22bf356ad31ef14b73
parent2169712d9c140d1b011470393c64258b2db3a4cd
Consolidate pthread_attr value validation

Define inline functions that wrap around validation for each of the
pthread attributes to reduce duplication in code.
nptl/ChangeLog
nptl/pthreadP.h
nptl/pthread_attr_setschedparam.c
nptl/pthread_attr_setschedpolicy.c
nptl/pthread_attr_setstack.c
nptl/pthread_attr_setstacksize.c
nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c