1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

New API to set default thread attributes

This patch introduces two new convenience functions to set the default
thread attributes used for creating threads.  This allows a programmer
to set the default thread attributes just once in a process and then
run pthread_create without additional attributes.
This commit is contained in:
Siddhesh Poyarekar
2013-06-15 12:24:15 +05:30
parent 601eb33deb
commit 61dd6208fb
49 changed files with 817 additions and 13 deletions

View File

@ -149,6 +149,7 @@ enum
/* Default pthread attributes. */
extern struct pthread_attr __default_pthread_attr attribute_hidden;
extern int __default_pthread_attr_lock attribute_hidden;
/* Size and alignment of static TLS block. */
extern size_t __static_tls_size attribute_hidden;