[erlang-questions] Fwd: Freeze gen_server

Roberto Ostinelli roberto@REDACTED
Tue Mar 29 17:28:51 CEST 2016


Thank you all. These are extremely helpful and can't thank you enough.

For anyone interested, I needed to ensure that during Syn's MNESIA
auto-conflict resolution I would not allow other processes to modify the
MNESIA tables entries before the resolution is over.
I've therefore used the suspend / resume schema, this can be seen here:
https://github.com/ostinelli/syn/blob/eeeda5ba80fb3c8e5bf55ec48beb3216f349eea5/src/syn_consistency.erl#L192

Again, thank you Gleb, Ulf and Raimo for the great answers.

Best,
r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160329/c7f42cfc/attachment.htm>


More information about the erlang-questions mailing list