Skip to content


Subversion checkout URL

You can clone with
Download ZIP
100644 19 lines (14 sloc) 1.214 kB
98ba2d9 added rebar support
Ulf Wiger authored
1 Gproc - Extended Process Dictionary for Erlang
2 ==============================================
4 Gproc is a process dictionary for Erlang, which provides a number of useful features beyond what the built-in dictionary has:
6 * Use any term as a process alias
7 * Register a process under several aliases
8 * Non-unique properties can be registered simultaneously by many processes
9 * QLC and match specification interface for efficient queries on the
10 dictionary
11 * Await registration, let's you wait until a process registers itself
12 * Counters, and aggregated counters, which automatically maintain the
13 total of all counters with a given name.
14 * Global registry, with all the above functions applied to a network of nodes.
16 Gproc has a QuickCheck test suite, covering a fairly large part of the local gproc functionality, although none of the global registry. It requires a commercial EQC license, but rebar is smart enough to detect whether EQC is available, and if it isn't, the code in gproc_eqc.erl will be "defined away".
18 There is also an eunit suite in gproc.erl, but it covers only some of the most basic functions (local only). Lots more tests need to be written... some day. Contributions are most welcome.
Something went wrong with that request. Please try again.