Microsoft concurrency work

Sean Hinde sean.hinde@REDACTED
Mon Feb 13 20:03:50 CET 2006


Hi,

This stuff that microsoft are doing looks quite nice:

mms://wm.microsoft.com/ms/msnse/0512/26042/CCR_Final_mbr.wmv

One thing that struck me is that they effectively have a receive  
construct which says:

Ref1 = make_ref(),
pid() ! {Ref1, Reqest1},

Ref2 = make_ref(),
pid() ! {Ref2, Reqest2},

receive
     {Ref1, Msg1} and {Ref2, Msg2} ->
         do_code_only_when_both_arrived();
     Other ->
         handle_other_message()
end


I know we can build this in Erlang, but not without some faffing to  
track what has already arrived.

Sean



More information about the erlang-questions mailing list