]> git.ipfire.org Git - thirdparty/glibc.git/commit - nptl/pthread_attr_setaffinity.c
nptl: Make pthread_attr_t dynamically extensible
authorFlorian Weimer <fweimer@redhat.com>
Tue, 2 Jun 2020 08:33:30 +0000 (10:33 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 2 Jun 2020 09:54:58 +0000 (11:54 +0200)
commit7538d461134bf306e31b40e4032f0c225bb40d51
tree34c4ceb7c6565864dfc62d8e23dd8f37e24944af
parent6993670b52daa413717e840dfb17b5322e7f4a88
nptl: Make pthread_attr_t dynamically extensible

This introduces the function __pthread_attr_extension to allocate the
extension space, which is freed by pthread_attr_destroy.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
nptl/Makefile
nptl/pthreadP.h
nptl/pthread_attr_copy.c
nptl/pthread_attr_destroy.c
nptl/pthread_attr_extension.c [new file with mode: 0644]
nptl/pthread_attr_getaffinity.c
nptl/pthread_attr_setaffinity.c
nptl/pthread_create.c
sysdeps/nptl/internaltypes.h
sysdeps/unix/sysv/linux/createthread.c