c++ - "Project.exe has triggered a breakpoint" after implementing multithreading -
i have visual studio project worked fine until tried implement multithreading . project acquires images gige camera, , after acquiring 10 images, video made acquired images. the program flow such program didn't acquire images when making video. wanted change this, created thread makes videos images. wanted program acquire images continuously, after 10 images acquired, thread runs in parallel make video. continue until stop program, 10 images acquired, video these 10 images made in parallel while next 10 images acquired , on. i haven't created threads before followed tutorial on this website . similar website, created thread function saves video. function creates video takes 10 images vector argument. execute join on thread before line main function terminates. for clarity, here's pseudo-code i've implemented: #include ... #include <thread> using namespace std; thread threads[1]; vector<image> images; void thread_method(vector<image...