When to use receive/call with timeouts?

Jeremy Raymond jeraymond@REDACTED
Fri Sep 25 14:48:34 CEST 2009


As I'm learning Erlang I was wondering if there were any best practices or
general guidelines as to appropriate use of timeouts when using the receive
primitive or gen_server:call. For example is it good to use them for remote
processes, but try to avoid them for local processes? Are there any general
scenarios as to when you would want to use them or not want to use them.

Thanks,

Jeremy


More information about the erlang-questions mailing list