Boost Users :
Subject: Re: [Boost-users] Thread synchronization
From: Gonzalo Garramuno (ggarra13_at_[hidden])
Date: 2013-12-06 19:14:38
On 06/12/13 18:23, Vicente J. Botet Escriba wrote:
> Maybe you should group the 3 thread and a barrier as a single data
> structure that you instantiate twice.
Maybe I wasn't clear. I am doing just that right now. The problem is
that the two barriers need to be in sync, so the foreground video and
background video end together. I don't know whether I can have the
foreground decode thread wait on the background barrier while the
background barrier also waits in its own decode thread. Or whether I
should go with a single barrier for both the background and the foreground.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net