We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b22aeac commit 1c60b3fCopy full SHA for 1c60b3f
tests/pthread/main_thread_join.cpp
@@ -32,8 +32,8 @@ void loop() {
32
33
void *ThreadMain(void *arg) {
34
#ifdef TRY_JOIN
35
- // Delay to force the main thread to try and succeed a few times before
36
- // canceling the main loop.
+ // Delay to force the main thread to try and fail a few times before
+ // succeeding.
37
while (tries.load() < EXPECTED_TRIES) {}
38
#else
39
// Delay a bit to force the main thread to actually block, as exited
0 commit comments