[Vortex] Question about ausage pattern

Robert M. Münch robert.muench at robertmuench.de
Mon Mar 31 10:32:22 CEST 2008


On Sun, 30 Mar 2008 18:58:49 +0200, Jens Alfke <jens at mooseyard.com> wrote:

> Every outgoing message is assigned a message number when it's sent;
> and every incoming frame contains the message number that it's
> replying to.
>
> So when you send a request, use a per-channel dictionary to associate
> its message number with whatever auxiliary data you need to remember.

Hi Jens, yes this sounds like a good idea. Because the combination  
channel/message-number is unique no clash between threads can happen.

Isn't this such a fundamental function that it should be included into the  
Vortex library?

-- 
Robert M. Münch
http://www.robertmuench.de



More information about the Vortex mailing list