On 03/04/2014 11:48 AM, Charles Steinkuehler wrote:
> On 3/4/2014 10:55 AM, Jon Elson wrote:
>> Another way this can be dealt with is to have double buffers
>> shared between the two tasks, the "master" task swaps out a
>> pointer
>> to the most recent buffer when it is ready to be used by the
>> "slave" task.  Not sure that is a great way to do things, but
>> it alleviates the deadlock situation.
> You are describing a degenerate ring buffer with two elements.
Yes, actually, but if the entire goal is to make sure all 
variables passed
are coherent, two buffers are all you need.

Jon

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to