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 15
15
16
16
int main () {
17
17
std::cout << " Entry to main!" << std::endl;
18
+
19
+
20
+ // TODO: This is disabled because it does cause a test failure
21
+ /*
18
22
std::mutex mut;
19
23
std::condition_variable cv;
20
24
bool go{false};
@@ -33,11 +37,9 @@ int main() {
33
37
// cv.wait(lock, [&] { return go; });
34
38
// but timed wait could segfault
35
39
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
+ */
41
43
42
44
std::cout << " Exit from main!" << std::endl;
43
45
}
You can’t perform that action at this time.
0 commit comments