Home > Back-end >  How to let STD: : thread runs OS calls the callback function
How to let STD: : thread runs OS calls the callback function

Time:03-31

I have a camera, the callback function inside frameReady is when frame ready operation system call, want to use the STD: : thread to control how should do

CodePudding user response:

The old callback function lock all of the data to be processed into a FIFO queue,
Your new thread processing function lock fetching data from the FIFO queue processing
  • Related