global

global

Module

global

Module summary

A Global Name Registration Facility

Description

This documentation describes the Global module which consists of the following functionalities:

  • registration of global names;
  • global locks;
  • maintenance of the fully connected network.

These services are controlled via the process global_name_server which exists on every node. The global name server is started automatically when a node is started. With the term global is meant over a system consisting of several Erlang nodes.

The ability to globally register names is a central concept in the programming of distributed Erlang systems. In this module, the equivalent of the register/2 and whereis/1 BIFs (for local name registration) are implemented, but for a netw