[lkml]   [2003]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] bug in setpgid()? process groups and thread groups
    On Sat, 2003-08-02 at 12:08, Roland McGrath wrote:
    > In the case of pgrp, you can
    > ignore SIGTTIN/SIGTTOU and progress to some degree at user level. In the
    > case of uids/gids, you can change every thread individually.)

    In my case I'm getting read() returning EIO when it tries to read from
    the terminal, because the thread pgid doesn't equal the terminal
    foreground pgid. I could solve this problem if either setpgid sets the
    pgid in all threads in the thread group, or if I could run setpgid in
    all threads for myself (I would prefer the latter just because it is a
    bit more flexible). The current situation is just annoyingly broken
    because there's no user-space way to fix it.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:0.021 / U:1.812 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site