File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1515
1616int main () {
1717 std::cout << " Entry to main!" << std::endl;
18+
19+
20+ // TODO: This is disabled because it does cause a test failure
21+ /*
1822 std::mutex mut;
1923 std::condition_variable cv;
2024 bool go{false};
@@ -33,11 +37,9 @@ int main() {
3337 // cv.wait(lock, [&] { return go; });
3438 // but timed wait could segfault
3539
36- // NOTE: If this test segfaults on a test runner, please comment
37- // out this line and submit the patch.
38- // I will follow up with a fix of the underlying problem,
39- // but first I need to understand if it fails a test runner
40- cv.wait_for (lock, std::chrono::milliseconds (200 ), [&] { return go; });
40+ // NOTE: When a fix for the pthread_cond issue #146120 is fixed, uncomment this line
41+ //cv.wait_for(lock, std::chrono::milliseconds(200), [&] { return go; });
42+ */
4143
4244 std::cout << " Exit from main!" << std::endl;
4345}
You can’t perform that action at this time.
0 commit comments