mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
nptl: Add pthread_attr_setsigmask_np, pthread_attr_getsigmask_np
Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -42,6 +42,11 @@ __pthread_attr_copy (pthread_attr_t *target, const pthread_attr_t *source)
|
||||
ret = __pthread_attr_setaffinity_np (&temp.external,
|
||||
isource->extension->cpusetsize,
|
||||
isource->extension->cpuset);
|
||||
|
||||
/* Propagate the signal mask information. */
|
||||
if (ret == 0 && isource->extension->sigmask_set)
|
||||
ret = __pthread_attr_setsigmask_internal ((pthread_attr_t *) &temp,
|
||||
&isource->extension->sigmask);
|
||||
}
|
||||
|
||||
if (ret != 0)
|
||||
|
Reference in New Issue
Block a user