[erlang-questions] Question about receive

Tony Rogvall tony@REDACTED
Wed Jun 27 00:51:33 CEST 2007


Funny that you mention this today, since Synapse just found a SMP bug  
where now() is not longer unique
on a node. I think somebody may fill in on this...

Maybe make_ref is a better alternative when usable (until this is  
resolved)



/Tony



On 26 jun 2007, at 22.43, Bob Ippolito wrote:

> 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
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list