Opened 5 years ago

Last modified 5 years ago

#13220 closed Bugs

windows thread stack size problem — at Version 1

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

Description (last modified by viboes)

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 (1)

comment:1 by viboes, 5 years ago

Description: modified (diff)
Owner: changed from Anthony Williams to viboes
Status: newassigned

Please, could you elaborate? Do you have a concrete example that doesn't works?

Note: See TracTickets for help on using tickets.