Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Threading issue?

Status
Not open for further replies.

northernmunkey

Programmer
Joined
Feb 12, 2004
Messages
1
Location
GB
I have created an object to access my webcam and grab a frame. Currently this works fine. However, i have a timertask grabbing images and storing them in a FIFO queue and another thread gets the images from the queue (when available) to processes them.
The problem i have is that if the thread isn't set at a lower priority then the webcam output just appears as a black screen (as a result each frame is a black screen). I personally feel that the second thread being at lower priority has no effect on the system, however, my supervisor thinks it does. I imagine he knows best.
Does any know a way to get around this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top