We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb2bc8 commit bc337b1Copy full SHA for bc337b1
1 file changed
kernel/src/ipc/kill.rs
@@ -79,8 +79,7 @@ pub fn send_signal_to_pgid(pgid: &Arc<Pid>, sig: Signal) -> Result<usize, System
79
// group them by their stable TGID identity. TGID grouping also covers the
80
// brief old/new leader overlap during de_thread().
81
let mut thread_groups: BTreeMap<usize, Arc<ProcessControlBlock>> = BTreeMap::new();
82
- let physical_tasks: Vec<Arc<ProcessControlBlock>> =
83
- pgid.tasks_iter(PidType::PGID).collect();
+ let physical_tasks: Vec<Arc<ProcessControlBlock>> = pgid.tasks_iter(PidType::PGID).collect();
84
for task in physical_tasks {
85
if !task.is_thread_group_leader() {
86
continue;
0 commit comments