mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-07 22:07:28 +05:00
detach parallel meshing-thread
This commit is contained in:
parent
8a3e29e624
commit
56ed93963d
@ -35,6 +35,7 @@ void RunParallel ( void * (*fun)(void *), void * in)
|
||||
if (parthread)
|
||||
{
|
||||
meshingthread = std::thread(fun, in);
|
||||
meshingthread.detach();
|
||||
}
|
||||
else
|
||||
fun (in);
|
||||
|
Loading…
x
Reference in New Issue
Block a user