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
  • 523
  • 2
  • 10
  • 30

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,775
  • 8
  • 25
  • 50