Messages in this thread | | | Date | Mon, 8 Sep 2003 19:12:15 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] use group_leader->pgrp (was Re: setpgid and threads) |
| |
Jeremy Fitzhardinge <jeremy@goop.org> wrote: > > On Wed, 2003-08-20 at 19:49, Andrew Morton wrote: > > Using current->thread_group->foo sounds like a reasonable solution > > Here's a patch to use group_leader->pgrp rather than just ->pgrp so that > all threads in a group appear to have the same process group ID.
Just a quick maintainance thing:
> - if (is_orphaned_pgrp(current->pgrp)) > + if (is_orphaned_pgrp(current->group_leader->pgrp))
Would it make sense to do this via
if (is_orphaned_pgrp(process_group(current)))
and to then rename task_struct.pgrp to something else, to pick up any missed conversions?
- 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/
| |