jss::joining_thread object associated
with a new thread of execution.
template<typename Callable,typename Args...> explicit joining_thread(Callable func,Args... args);
func and each element
args must be
and associates it with a newly-created thread of execution. Copies
args into internal
storage associated that persists for the lifetime of the new thread
of execution. Runs the supplied function
on that new thread of execution by INVOKE(
For a newly-constructed
An exception of type
if unable to start the new thread. Any exception thrown by copying
args into internal storage.
The invocation of the constructor happens-before the execution of the supplied function on the newly-created thread of execution.