Gromacs
2021
|
Inherits TestWithParam< TaskType >.
Parameterized test fixture.
Checks that different launch policies work. In further tests of mutual exclusion, we need to specify std::thread::async, to require that a thread actually launched. The default policy permits the std:: implementation to avoid launching a thread, and at least the behaviour of thread-MPI try_lock also varies with the threading implementation underlying it.
Public Member Functions | |
void | checkResults () |
Check the results. | |
Public Attributes | |
std::future< int > | futureResult_ |
Contains the result the task returns. | |