bug in pg2?

Vance Shipley <>
Thu Jan 23 03:04:28 CET 2003

pg2:join/2 allows you to add the same Pid to the same group more than
once.  Do we want to call this a bug or just an optimized implementation?


Erlang (BEAM) emulator version 5.1.2 [source] [threads:0]

Eshell V5.1.2  (abort with ^G)
1> pg2:create(foo).
2> pg2:get_members(foo).
3> pg2:join(foo, self()).
4> pg2:get_members(foo).
5> pg2:join(foo, self()).
6> pg2:get_members(foo).

More information about the erlang-questions mailing list