diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-03-19 14:34:13 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-03-19 14:34:13 +0530 |
commit | e903a7138b4a39904b9d17a1d7715ae7c17fd832 (patch) | |
tree | 3496f780b2da815263d381f31870564df323ac3e /nptl/allocatestack.c | |
parent | d3cfc668a3988168ccd9342e46cd884da511367b (diff) | |
download | glibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.tar glibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.tar.gz glibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.tar.bz2 glibc-e903a7138b4a39904b9d17a1d7715ae7c17fd832.zip |
Move __default_stacksize into __default_pthread_attr
Make __default_pthread_attr object to store default attribute values
for threads.
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r-- | nptl/allocatestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c index 31c88291ae..56bf2570f8 100644 --- a/nptl/allocatestack.c +++ b/nptl/allocatestack.c @@ -358,7 +358,7 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp, /* Get the stack size from the attribute if it is set. Otherwise we use the default we determined at start time. */ - size = attr->stacksize ?: __default_stacksize; + size = attr->stacksize ?: __default_pthread_attr.stacksize; /* Get memory for the stack. */ if (__builtin_expect (attr->flags & ATTR_FLAG_STACKADDR, 0)) |