| 27 | } |
| 28 | |
| 29 | void thread_func() { |
| 30 | char *msg = char_repeat(100, 'a'); |
| 31 | for (int i = 0; i < 10; ++i) { |
| 32 | printf("%s\n", msg); |
| 33 | } |
| 34 | free(msg); |
| 35 | } |
| 36 | |
| 37 | #if defined(__EMSCRIPTEN_PTHREADS__) |
| 38 | void *thread_main(void *arg) { |
no test coverage detected