lkml.org 
[lkml]   [2002]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.5.3] Changes to signal to better support thread groups

Oh, btw - another thing:
when you re-send with a non-broken mailer, could you please also change
all the duplication of the

+ /*
+ * If this task is in a thread group, make sure
+ * this signal kills all tasks in the group.
+ */
+ if (info.si_code != SI_TKILL) {
+ struct task_struct *task;
+
+ for_each_thread(task) {
+ force_sig_info(signr, &info, task);
+ }
+ }
+
do_exit(exit_code);

to use some common routine instead of being duplicated for each
architecture. It should be easy enough to do all of this in a

do_signal_exit(signr, &info, exit_code);

and not have the same logic duplicated N times.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.057 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site