xtd::threading::thread::thread | ( | const xtd::threading::thread_start & | start, |
int32 | max_stack_size | ||
) |
Initializes a new instance of the xtd::threading::thread class, specifying the maximum stack size for the thread.
start | A xtd::threading::thread_start delegate that represents the methods to be invoked when this thread begins executing. |
max_stack_size | The maximum stack size, in bytes, to be used by the thread, or 0 to use the default maximum stack size specified in the header for the executable. Important For partially trusted code, max_stack_size is ignored if it is greater than the default stack size. No exception is thrown. |
xtd::argument_exception | The start parameter is empty. |