Opened 5 years ago

Last modified 5 years ago

#13220 closed Bugs

windows thread stack size problem — at Initial Version

Reported by: hjing huang <huangjingyf@…> Owned by: Anthony Williams
Milestone: Boost 1.66.0 Component: thread
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:

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

Change History (0)

Note: See TracTickets for help on using tickets.