]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add __pthread_attr_copy for copying pthread_attr_t objects
authorFlorian Weimer <fweimer@redhat.com>
Tue, 19 May 2020 10:32:39 +0000 (12:32 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 20 May 2020 18:28:44 +0000 (20:28 +0200)
commit331c6e8a184167dd21a9f0b3fc165aeefea6eeca
tree76c20764a829cbb26017adb371e0160ffa2c7afd
parent3699ef99de0d69284cdd28c3cc5e1aa89e398443
nptl: Add __pthread_attr_copy for copying pthread_attr_t objects

Also add the private type union pthread_attr_transparent, to reduce
the amount of casting that is required.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
nptl/Makefile
nptl/Versions
nptl/pthreadP.h
nptl/pthread_attr_copy.c [new file with mode: 0644]
sysdeps/nptl/internaltypes.h