MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / SignalThreadGroup

Method SignalThreadGroup

src/task/task_manager.cpp:324–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324auto TaskManager::SignalThreadGroup(Pid tgid, int signal) -> void {
325 /// @todo 实现信号机制后,向线程组中的所有线程发送信号
326 klog::Debug("SignalThreadGroup: tgid={}, signal={} (not implemented)", tgid,
327 signal);
328
329 // 预期实现:
330 // auto threads = GetThreadGroup(tgid);
331 // for (auto* thread : threads) {
332 // SendSignal(thread, signal);
333 // }
334}
335
336TaskManager::~TaskManager() {
337 // unique_ptr in cpu_schedulers_.schedulers[] auto-deletes on destruction

Callers

nothing calls this directly

Calls 1

DebugFunction · 0.85

Tested by

no test coverage detected