Invalid argument error when joining thread while it has no argument passed in
I receive an error which is this one:
libc++abi: terminating due to uncaught exception of type std::__1::system_error: thread::join failed: Invalid argument
I receive an error which is this one:
libc++abi: terminating due to uncaught exception of type std::__1::system_error: thread::join failed: Invalid argument