xtd 0.2.0
Loading...
Searching...
No Matches

◆ start_new() [2/2]

static thread xtd::threading::thread::start_new ( const xtd::threading::parameterized_thread_start start,
std::any  obj 
)
static

Create and immedialtely start a xtd::threading::thread with specified method.

Parameters
startA delegate that represents the methods to be invoked when this thread begins executing.
objAn object that contains data to be used by the method the thread executes.
Exceptions
xtd::argument_exceptionThe start parameter is empty.