Hi
I set "Image_proc_omp" demo project as my base project. I want to use multi thread programming so I made and added two thread dynamically as below.
Question 1:
Is it necessary to use Task_delet() function? if the answer is yes where should I use it?
Question 2:
Is my thread creation method correct?
When I changed the priority of "master_main" thread to any number (2 until 15) except number 5, an error occurred as below:
Question 3:
Why the master_main thread works only by priority 5?
Question 4:
How should I set priority to threads?
I mean I don't uderstand the relation and quality between periyirity number of threads for example in visual studio you
can set the priority low, high or real time but here I don't have any sense between thread priority number.
Question 5:
What should I do for synchronization between thread?
At first I tried to synchronize threads by declared some flags but it didn't work as I wanted. Should I use semaphore or event module?
Best Regards