OpenMP® Forum

Discussion on the OpenMP specification run by the OpenMP ARB. OpenMP and the OpenMP logo are registered trademarks of the OpenMP Architecture Review Board in the United States and other countries. All rights reserved.

Hi, it's my first time to this forum. My problem is that.I am an computer vision guy. I use an webcamera to capture image which is 30FPS. It means I will get an image every 30ms.Now I have two things to do and they are seperately in two thread. The first thread is find corner in each frame and record its reulst to .txt file. It will take about 20ms, that is less than 30ms. The second thread starts when the first thread capture more than 200 frame. It read the result from the .txt file. And analysis the result. It costs longer time than 30ms, let us say it cost 1000ms.I need to do these two things at the same time. How can I do?Thanks very much.