What's the difference/relation between pid,tgid,pgid,sid?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can somebody explain to me or point me to some explanation of what the pgid and sid are and how they are related to the pid and the tgid?

I am trying to understand how the pid hashing works and how I can change the pid of a process while it's running.  I know I need to do some __detach_pid and then attach it again under a different pid, but I'm not sure what to do about the rest of the pid types (PGID, SID)...

Cheers,

Cristian.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux