set_value/3 #32

Closed
l4u opened this Issue Dec 31, 2012 · 2 comments

Comments

Projects
None yet
2 participants

l4u commented Dec 31, 2012

There exists get_value/1 and get_value/2.
Should there be a set_value/3 which accepts Key, Value, and Pid?
Might be related to #17 for setting value to a shared counter, for example.
gproc:set_value({c,l,wsCounter}, 100, shared).

Owner

uwiger commented Dec 31, 2012

No, there's a set_value/2, but only the owner of the object is allowed to change the value.

Owner

uwiger commented Dec 31, 2012

But I agree there is room for a set_shared_value/2

@l4u l4u referenced this issue Jan 1, 2013

Closed

Add set_shared_value #33

@uwiger uwiger closed this May 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment