| 116 | std::atomic<Pid> g_sleeper_pid{0}; |
| 117 | |
| 118 | void sleeper_work(void* /*arg*/) { |
| 119 | auto* current = TaskManagerSingleton::instance().GetCurrentTask(); |
| 120 | g_sleeper_pid.store(current->pid); |
| 121 | (void)sys_sleep(5000); |
| 122 | sys_exit(0); |
| 123 | } |
| 124 | |
| 125 | void test_affinity_other_task(void* /*arg*/) { |
| 126 | klog::Info("=== Affinity Other Task Test ==="); |
nothing calls this directly
no test coverage detected