Is it possible to set scheduling policy in Qthread ?
Im using ubuntu, and I'm confident that qthreads are implemented using pthreads, but I don't know how to acces pthreads attribs for advanced tuning like setting scheduling policy.

With posix classes I would use:
Qt Code:
  1. #include <pthread.h>
  2. pthread_attr_t attrib;
  3. pthread_attr_init(&attrib);
  4. int ret = pthread_attr_setschedpolicy(&attrib, SCHED_RR);
To copy to clipboard, switch view to plain text mode 

but I don't figure out how to do this with Qthreads.