Keeping an eye on hung system calls..

Nik Clayton nik at
Fri Jun 9 16:18:32 BST 2006

Benjamin Smith wrote:
> On Thu, Jun 08, 2006 at 10:03:34PM +0100, Nik Clayton wrote:
>> Since I've just had to do exactly that, I thought I'd mention that the 
>> relevant call is POSIX::setsid().
> No, it's not.  setsid creates a new *session*.  setpgid/setpgrp create
> new process groups.

They do?

In my (FreeBSD-current) manpages, setsid(2) says that

   The calling process is .. the process group leader of a new
   process group.

setpgid(2) doesn't talk about creating new process groups.  How do you 
go about doing that?


More information about the mailing list