[erlang-questions] Question about receive

Taavi Talvik <>
Tue Jun 26 22:42:34 CEST 2007


> 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).

http://www.erlang.org/doc/reference_manual/data_types.html#2.5

2.5 Reference

A reference is a term which is unique in an Erlang runtime system,  
created by calling make_ref/0.


best regards,
taavi




More information about the erlang-questions mailing list