Closed l4u closed 11 years ago
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).
gproc:set_value({c,l,wsCounter}, 100, shared).
No, there's a set_value/2, but only the owner of the object is allowed to change the value.
But I agree there is room for a set_shared_value/2
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).