[erlang-questions] Scoped group leaders

Yurii Rashkovskii yrashk@REDACTED
Tue Jul 5 02:01:07 CEST 2011

On Mon, Jul 4, 2011 at 4:57 PM, Robert Virding
<robert.virding@REDACTED> wrote:

> Today there is nothing in the system which keeps track of the processes in a group, process groups don't really exist at all. A "process group" is those processes which have the same group leader. The group leader has no information about which processes have it as group leader. You can make any process a group leader by setting it as group leader.
> Process groups were explicitly added in such a way as NOT to impose any structure or hierarchy on processes, process space is flat.

That's right. I personally understand them as "ephemeral" notions,
just like you defined. That's why I don't do anything if a group
leader dies. It's a duty of individual process to decide what to do
with this.


More information about the erlang-questions mailing list