I am creating three different sections in openmp and these three sections will be run by three different threads. I want to set the priority of one particular section which will be run by one thread . How to do this?
Asked
Active
Viewed 1,522 times
3
-
You are mistaking OpenMP for the general-purpose parallel computing paradigm which it is not. – Hristo Iliev Jan 22 '13 at 18:02
1 Answers
1
see Missing OpenMP feature: Thread Priority about setting priority within the openmp loop. Though I think any priority setting code is going to be platform dependent
have a look here Equivalent of SetThreadPriority on Linux (pthreads) for linux specific