What is the recommended way of raising an event from a threaded member function?
Preferably a native solution.
My my main.cpp, I have one class that in a threaded function continuously grabs frames from my webcam and puts them in a buffer.
Then I have a class that handles socket stuff. Also a threaded member function
What I want is to have the socket class to be able to "ask" the camera class for an image.
Does that make sense?
Any help appreciated