Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

69 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ppg

hex.pm version

Plumtree based Process Group

Build

$ git clone git@github.com:sile/ppg.git
$ cd ppg/
$ ./rebar3 compile

Usage Examples

$ make start
> ppg:create(foo).
> ppg:which_groups().
[foo].
> {ok, Channel} = ppg:join(foo, self()).
> lists:foreach(fun (_) -> ppg:join(foo, self()) end, lists:seq(1, 4)).
> ppg:broadcast(Channel, bar).
> flush().
Shell got bar
Shell got bar
Shell got bar
Shell got bar
Shell got bar
ok

API

See EDoc Documents

Reference

License

This library is released under the MIT License.

See the LICENSE file for full license information.

About

Plumtree based Distributed Process Group

Topics

Resources

Stars

17 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /