I have a C ++ program that captures the video, and I have a command to update my frame Would like to be able to create line programs, rate, image format etc. on flying
How can I do this without stopping the entire program? I need to be able to wait for user input, but still capture video at the same time. I know that this might include some kind of multi-threading, which I'm totally new, some suggestions / links would be good
If you are developing for windows, then you should see the Win32 API, especially on MSDN at beginthread or _beginthreadex
I * am not very familiar with the development of nick, but I believe that is the trick and it can be used in Windows and * nix
Another option would be to use Boost libraries Boost can be used on Windows and * NIX systems Boost Thread Documentation A link to is.
I think drop threads are much easier than WIN32 Threads, and you also have a specific platform API.
Comments
Post a Comment