| 100 | std::atomic<int> g_multi_fork_done{0}; |
| 101 | |
| 102 | void multi_fork_child(void* arg) { |
| 103 | g_multi_fork_done++; |
| 104 | int code = static_cast<int>(reinterpret_cast<uintptr_t>(arg)); |
| 105 | sys_exit(code); |
| 106 | } |
| 107 | |
| 108 | void test_fork_multiple(void* /*arg*/) { |
| 109 | klog::Info("=== Fork Multiple Test ==="); |
nothing calls this directly
no test coverage detected