[erlang-questions] Atomically replace named process?

Tobias Schlager <>
Wed Jun 11 10:23:51 CEST 2014


Hi,

I know this not exactly what you're asking for, but you could use a (registered) process group as a middleman and add you gen_server's into that as needed.

Regards
Tobias

________________________________________
Von:  []" im Auftrag von "Roger Lipscombe []
Gesendet: Mittwoch, 11. Juni 2014 09:17
An: 
Betreff: [erlang-questions] Atomically replace named process?

I've got a gen_server with a particular name. I've got a bunch of
other processes calling and casting to it, by name.

Can I spin up another gen_server, and have the name transferred
without anyone noticing? That is: can I redirect the calls and casts
to the new process without interruption?

--
Roger.
_______________________________________________
erlang-questions mailing list

http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list