Timeline for answer to why cant pgid (process group leader)cant change its pgid? by Andy Dalton
Current License: CC BY-SA 4.0
Post Revisions
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| 8 hours ago | comment | added | Bhushitha Hashan | @Andy Dalton. But still pid cant be used until there are refs to it right?and signals are delevered via shells foreground process group since the rest of the members are still there its doable unless leader is the only process in the group senario? | |
| 9 hours ago | comment | added | Bhushitha Hashan | @DavidG. It cant be reused as theres ref count field in pid struct.until ref count hit zero its not going to be used right?as the pgid members also considered as references? | |
| 10 hours ago | comment | added | David G. | Point 1 begs the question: What happens when the leader terminates and is collected? Can it's process id be reused? Does it hang in a zombie-like state white there are processes in its process group? Do all the processes in its process group get mysteriously killed? (Linux man pages talk about orphaned process groups, but only about what happens if a process in the process group is suspended.) | |
| 20 hours ago | history | answered | Andy Dalton | CC BY-SA 4.0 |