Created attachment 1197277[details]
thread.cxx
In the attached test case, if flush is called, it
will fail with the message:
terminate called after throwing an instance of 'std::runtime_error'
The test case fails because of 'endl'.
Other kinds of cancellation points work as expected.
Created attachment 1197277 [details] thread.cxx In the attached test case, if flush is called, it will fail with the message: terminate called after throwing an instance of 'std::runtime_error' The test case fails because of 'endl'. Other kinds of cancellation points work as expected.