[erlang-questions] Global lock is unfair?
Mon May 14 21:55:44 CEST 2018
My team has used global:set_lock() to implement a sort of simple mutex
system on a set of resources. It turns out that this function seems to have
no concept of fairness. One process might request a lock and not get it
until 20 other processes have requested and gotten said lock, out of
request order. Is there any easy way to do fair locking?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions