How do I set priority in openmp?

I am creating three different sections in openmp and these three sections will be executed by three different threads. I want to set the priority of one section to be executed by one thread. How to do it?

+3


source to share


1 answer


see Missing OpenMP Feature: Thread Priority for setting priority in an openmp loop. Although I think any priority setting code will be platform dependent



see here Equivalent to SetThreadPriority in Linux (pthreads) for Linux specific

+1


source







All Articles