Talk:Rendezvous: Difference between revisions

if it's a lang feature, C, C++, ... are out?
(Tried to describe what a "rendezvous" is.)
(if it's a lang feature, C, C++, ... are out?)
Line 9:
::* I believe the sender can't formally constrain how the receiver responds.
:: Does this (rather sketchy) summary help? —[[User:Dkf|Dkf]] 08:07, 19 May 2009 (UTC)
 
:* Sender: SendMessage(port, msg); Wait(port); ... (get the answer, do something ecc.)
:* Receiver: loop... for some reason, at some point: GetMessage(port, msg); if (msg != NULL) { do something with the message, prepare an answer, SendMessage(port, answer); } ...
 
:This can be done, and should keep the task synchronized through the communication "port"; but of course there nothing like "arguments" passed or returned... there's a "message" flying from A to B and viceversa. <cite>it's a language feature, ...</cite> means it can't be implemented (as the task requires it) in e.g. C?
: Yes helped thanks, but I am always full of doubts... still without any idea about which languages I know can do that "as language feature"... currently I believe none of "mine". --[[User:ShinTakezou|ShinTakezou]] 15:50, 20 May 2009 (UTC)