Skip to content

Commit bc337b1

Browse files
committed
style(signal): apply rustfmt to group delivery
Signed-off-by: longjin <longjin@dragonos.org>
1 parent 6cb2bc8 commit bc337b1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

kernel/src/ipc/kill.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ pub fn send_signal_to_pgid(pgid: &Arc<Pid>, sig: Signal) -> Result<usize, System
7979
// group them by their stable TGID identity. TGID grouping also covers the
8080
// brief old/new leader overlap during de_thread().
8181
let mut thread_groups: BTreeMap<usize, Arc<ProcessControlBlock>> = BTreeMap::new();
82-
let physical_tasks: Vec<Arc<ProcessControlBlock>> =
83-
pgid.tasks_iter(PidType::PGID).collect();
82+
let physical_tasks: Vec<Arc<ProcessControlBlock>> = pgid.tasks_iter(PidType::PGID).collect();
8483
for task in physical_tasks {
8584
if !task.is_thread_group_leader() {
8685
continue;

0 commit comments

Comments
 (0)