[erlang-questions] What happens if two gen_server call each other at the exact same time?

Max Lapshin max.lapshin@REDACTED
Fri Mar 25 08:38:49 CET 2016


When it happens, it is usually a design bug.

but if you cannot refactor your code to remove such mutual call, I can
advise you to replace one of your calls with asking process dictionary.
It is not a good thing, but it works if you need just to query some
variable.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160325/e826719f/attachment.htm>


More information about the erlang-questions mailing list