forked from Alepha/Alepha
Report a handle for ThreadGroup
insertions
This commit is contained in:
@ -20,12 +20,13 @@ namespace Alepha::Hydrogen ::detail:: ThreadGroup_m
|
||||
|
||||
public:
|
||||
template< typename Function >
|
||||
void
|
||||
Thread *
|
||||
addThread( Function function )
|
||||
{
|
||||
// TODO: Exception handler wrapper
|
||||
// TODO: lockstep start wrapper?
|
||||
threads.push_back( std::make_unique< Thread >( std::forward< Function >( function ) ) );
|
||||
return threads.back().get();
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user