Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13220: windows thread stack size problem
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-09-23 07:57:36
#13220: windows thread stack size problem
------------------------------------------+----------------------
Reporter: hjing huang <huangjingyf@â¦> | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+----------------------
Changes (by viboes):
* status: new => assigned
* owner: Anthony Williams => viboes
Old description:
> bool thread::start_thread_noexcept(const attributes& attr)
> {
> new_thread=_beginthreadex(attr.get_security(),attr.get_stack_size(),&thread_start_function,thread_info.get(),CREATE_SUSPENDED,&thread_info->id);
> }
>
> If the STACK_SIZE_PARAM_IS_A_RESERVATION attribute is not set in
> createthread, stack size does not take effect
New description:
{{{
bool thread::start_thread_noexcept(const attributes& attr)
{
new_thread=_beginthreadex(attr.get_security(),attr.get_stack_size(),&thread_start_function,thread_info.get(),CREATE_SUSPENDED,&thread_info->id);
}
}}}
If the STACK_SIZE_PARAM_IS_A_RESERVATION attribute is not set in
createthread, stack size does not take effect
-- Comment: Please, could you elaborate? Do you have a concrete example that doesn't works? -- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13220#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-09-23 08:03:03 UTC