| 1084 | } |
| 1085 | |
| 1086 | int in_async(void) |
| 1087 | { |
| 1088 | if (!main_thread_set) |
| 1089 | return 0; /* no asyncs started yet */ |
| 1090 | return !pthread_equal(main_thread, pthread_self()); |
| 1091 | } |
| 1092 | |
| 1093 | static void NORETURN async_exit(int code) |
| 1094 | { |
no test coverage detected