I have a recordFunction which records 60-second videos. This process repeats 8 times and then starts again ( as while(1) ).
In the other side, my imageProcessing function runs after the first record gets saved into the file.
For example:
MyRecorder Start:
record01 62 sec.
MyImageProcesser Start:
Thread01 / Take Record01 and Work on it  ~140 sec.
(at this point MyRecorder is still running in the background and saving frames).
record02 62 sec. (this guy start after record01 and save in to file video)
After record02, another Thread (MyImageProcesser Thread02) should start.
Thread02 / Take Record02 and Work on it  ~140 sec.
I want to create 8 threads and assign tasks.
While(1){
    MyRecorder Start:
    MyImageProcesser Start:
    Thread01 task --> working on record01
    Thread02 task --> working on record02
    Thread03 task --> working on record03
    Thread04 task --> working on record04
    Thread05 task --> working on record05
    Thread06 task --> working on record06
    Thread07 task --> working on record07
    Thread08 task --> working on record08
}
Will MultiThread solve this problem? How can I implement it? I do not know MultiThread events.
 
    