Thursday 8 August 2013

How does linux process scheduling policy relate to thread scheduling policy?

How does linux process scheduling policy relate to thread scheduling policy?

I'm a bit confused between thread vs process scheduling.
I've read about processing scheduling policies at
http://man7.org/linux/man-pages/man2/sched_getscheduler.2.html
and I've read about thread scheduling at
http://man7.org/linux/man-pages/man3/pthread_getschedparam.3.html
Do threads inherit scheduling policy from their process? Is it possible to
set process scheduling to SCHED_OTHER, and then set one of that process's
threads to SCHED_FIFO ? I understand the policies independently but don't
understand the thread/process relationship. Nay insight?

No comments:

Post a Comment