[erlang-questions] Freeze gen_server
Tue Mar 29 15:44:39 CEST 2016
I realize how this sounds but: is there a way to temporarily "freeze" a
gen_server, so that messages sent to it are not received and its message
box stays intact until it is "unfrozen"?
What I am trying to achieve: I need to provide a "global lock" mechanism
for a specific use case related to cluster conflict resolution. While that
conflict resolution is ongoing, I want to ensure that no other changes
happen anywhere else.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions