[erlang-questions] Question about receive

Bob Ippolito bob@REDACTED
Tue Jun 26 22:43:42 CEST 2007


On 6/26/07, Matej Kosik <kosik@REDACTED> wrote:
>
> Does Erlang provide some convenient way of generating unique tags? (objects that cannot have duplicates). With that, I would be able to ensure reception of messages from a one chosen process (if there is no better way to do it).
>
> Btw. Thank you for your answers. (your previous answers did help me).

{node(), now()} should always be unique, since now() is unique for a given node.

-bob



More information about the erlang-questions mailing list