3

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?

Jasdeep Singh Arora
  • 543
  • 2
  • 11
  • 31

1 Answers1

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

Community
  • 1
  • 1
camelccc
  • 2,847
  • 8
  • 26
  • 52