What is a good way to modify Michael Voss' Feature Detection flow graph example when the source filter providing input images is blocking waiting for another image? This is a required modification if one wants to implement this graph for a real-time input source like a video camera. I know that if the source filter function body is blocking waiting to pull an image from an input device, then one of the tbb threads will be wasted because it is idle.
I appreciate any guidance.
Couldn't you just let the Body return false to indicate that there are no more inputs, and then activate() the source_node as soon as new inputs are available again?