| 22 | } |
| 23 | |
| 24 | static void on_timeout(void* user_data) { |
| 25 | probe("callback"); |
| 26 | // A true shutdown even where the runtime is kept alive (e.g. worker |
| 27 | // threads under PROXY_TO_PTHREAD). |
| 28 | emscripten_force_exit(0); |
| 29 | } |
| 30 | |
| 31 | int main(void) { |
| 32 | probe("main"); |