Quantcast
Channel: Thrift API for Erlang
Viewing all articles
Browse latest Browse all 6

Thrift API for Erlang

$
0
0
Consider changing the various guards to: is_pid(Client) orelse is_atom(Client) Also, I think taking advantage of http://www.erlang.org/doc/man/gen_server.html#start_link-4 is a better bet for your registration wrapper. gen_server contains code for handling the race condition of spawning the client when the register() call fails. -- Eugene Letuchy

Viewing all articles
Browse latest Browse all 6

Trending Articles