Reviewed-by: Carlos O'Donell <carlos@redhat.com>
__pthread_attr_setaffinity_np;
__pthread_attr_init; __pthread_attr_destroy;
__pthread_attr_copy;
+ __pthread_getattr_default_np;
}
}
size_t __stacksize);
int __pthread_attr_setaffinity_np (pthread_attr_t *, size_t, const cpu_set_t *);
libc_hidden_proto (__pthread_attr_setaffinity_np)
+extern __typeof (pthread_getattr_default_np) __pthread_getattr_default_np;
+libpthread_hidden_proto (__pthread_getattr_default_np)
extern int __pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
const pthread_rwlockattr_t *__restrict
__attr);
#include <pthreadP.h>
int
-pthread_getattr_default_np (pthread_attr_t *out)
+__pthread_getattr_default_np (pthread_attr_t *out)
{
lll_lock (__default_pthread_attr_lock, LLL_PRIVATE);
int ret = __pthread_attr_copy (out,
lll_unlock (__default_pthread_attr_lock, LLL_PRIVATE);
return ret;
}
+libpthread_hidden_def (__pthread_getattr_default_np)
+weak_alias (__pthread_getattr_default_np, pthread_getattr_default_np)