| 26 | } |
| 27 | |
| 28 | void *ThreadMain(void *arg) { |
| 29 | #ifdef TRY_JOIN |
| 30 | // Delay to force the main thread to try and fail a few times before |
| 31 | // succeeding. |
| 32 | while (tries < EXPECTED_TRIES) {} |
| 33 | #endif |
| 34 | pthread_exit((void*)0); |
| 35 | } |
| 36 | |
| 37 | pthread_t CreateThread() { |
| 38 | pthread_t ret; |
nothing calls this directly
no outgoing calls
no test coverage detected