[erlang-questions] Confusing about gproc with global properties

Gregory Haskins gregory.haskins@REDACTED
Mon Apr 18 21:18:09 CEST 2011


On 4/18/11 12:56 PM, Ulf Wiger wrote:
> 
> Hmpf! Thanks. Corrected, and some eunit tests added for good measure. :)
> 
> v0.2.1 pushed.

(gproctest@REDACTED)3> gproc:reg({p, g, foo}, bar).
true
(gproctest@REDACTED)4> gproc:reg({p, l, foo}, bar).
true
(gproctest@REDACTED)5>
(gproctest@REDACTED)5> qlc:e(qlc:q([P || P <- gproc:table(props)])).
[{{p,g,foo},<0.38.0>,bar},{{p,l,foo},<0.38.0>,bar}]

Fix confirmed ;)

Thanks Ulf,
-Greg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110418/60fdad3d/attachment.bin>


More information about the erlang-questions mailing list