Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Designing single producer and multiple consumer( Threading)

Hello All,

I am using opencv + qt to for my camera application. I have to perform two task

  1. Capturing the frame and displaying it on GUI
  2. Communicating with the serial port and storing the image.

I have seen the examples on forum which describe architecture for single producer queue which query the frame and consumer which consumes the frame.

Please let me know how can the single producer and multiple consumer can be implemented and if same code available would be great.

Thanks and Regards, Kira