nptl: Use __pthread_attr_setaffinity_np in pthread_getattr_np
commit86ed0774cf0de1d281ca3c773758c9fe6f2784b4
authorFlorian Weimer <fweimer@redhat.com>
Fri, 15 May 2020 15:38:57 +0000 (15 17:38 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 2 Jun 2020 08:32:30 +0000 (2 10:32 +0200)
treeb37b003b9161df6ad5197dd0bebbb1af96e0fcd8
parent8111c457b8c4f1c113a8475e3da38bd88270ab37
nptl: Use __pthread_attr_setaffinity_np in pthread_getattr_np

This avoids duplicating the code for the affinity mask allocation
handling.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
nptl/pthread_getattr_np.c