Grouper.Ident (Grouper v0.1.0) View Source

Functions for identifying group leader types.

Link to this section Summary

Functions

Identifies the type of group leader for current process.

Identifies the type of group leader by its pid.

Link to this section Types

Specs

app_leader() :: {:application, app_meta(), pid()}

Specs

app_meta() :: Application.app()

Specs

capture_io_leader() :: {:capture_io, capture_io_meta(), pid()}

Specs

capture_io_meta() :: nil

Specs

group_leader_errors() :: :dead | :unknown_type

possible errors identifying group leaders

Specs

grouper_leader() :: {:group, grouper_meta(), pid()}

Specs

grouper_meta() :: {pid(), :ets.tab()}

Specs

type of group leader process

Specs

shell_leader() :: {:shell, shell_meta(), pid()}

Specs

shell_meta() :: nil

Specs

user_leader() :: {:user, user_meta(), pid()}

Specs

user_meta() :: nil

Link to this section Functions

Specs

identify_group_leader() ::
  {:ok, leader_spec()} | {:error, group_leader_errors()}

Identifies the type of group leader for current process.

Link to this function

identify_group_leader(pid)

View Source

Specs

identify_group_leader(pid()) ::
  {:ok, leader_spec()} | {:error, group_leader_errors()}

Identifies the type of group leader by its pid.