Boost C++ Libraries: Ticket #13220: windows thread stack size problem https://svn.boost.org/trac10/ticket/13220 <pre class="wiki">bool thread::start_thread_noexcept(const attributes&amp; attr) { new_thread=_beginthreadex(attr.get_security(),attr.get_stack_size(),&amp;thread_start_function,thread_info.get(),CREATE_SUSPENDED,&amp;thread_info-&gt;id); } </pre><p> If the STACK_SIZE_PARAM_IS_A_RESERVATION attribute is not set in createthread, stack size does not take effect </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13220 Trac 1.4.3 viboes Sat, 23 Sep 2017 07:57:36 GMT owner, status, description changed https://svn.boost.org/trac10/ticket/13220#comment:1 https://svn.boost.org/trac10/ticket/13220#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/13220?action=diff&amp;version=1">diff</a>) </li> </ul> <p> Please, could you elaborate? Do you have a concrete example that doesn't works? </p> Ticket anonymous Sun, 24 Sep 2017 04:57:58 GMT <link>https://svn.boost.org/trac10/ticket/13220#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13220#comment:2</guid> <description> <p> Oh, I see. I need to set dwCreationFlags to STACK_SIZE_PARAM_IS_A_RESERVATION in <a class="missing wiki">CreateThread</a>. </p> <p> Thanks for reporting this issue. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Mon, 25 Sep 2017 20:33:26 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/13220#comment:3 https://svn.boost.org/trac10/ticket/13220#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> Ticket viboes Wed, 04 Oct 2017 21:48:58 GMT <link>https://svn.boost.org/trac10/ticket/13220#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13220#comment:4</guid> <description> <p> <a class="ext-link" href="https://github.com/boostorg/thread/commit/f02f23eff5108c2dbdd22c2853879dc0f49602c2"><span class="icon">​</span>https://github.com/boostorg/thread/commit/f02f23eff5108c2dbdd22c2853879dc0f49602c2</a> </p> </description> <category>Ticket</category> </item> <item> <author>hjing huang <huangjingyf@…></author> <pubDate>Tue, 10 Oct 2017 02:05:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13220#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13220#comment:5</guid> <description> <p> The default stack size (1M), win32 can start the number of threads is about 1400 or so, set the stack size of 256K, the number of threads that can be enabled should be far greater than 1400, but the actual test found inaccurate, set STACK_SIZE_PARAM_IS_A_RESERVATION only after Achieve the expected results. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Tue, 24 Oct 2017 18:42:23 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/13220#comment:6 https://svn.boost.org/trac10/ticket/13220#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket