Re: sched_setscheduler and pids/threads

2005-03-09 Thread Robert Love
On Thu, 2005-03-10 at 15:12 +1100, Dave Airlie wrote: > In 2.6 all my threads appear as a single PID,if I use chrt -p > will it set the scheduling priority for my main thread or for all > threads in the application? For just the main thread (or the thread of whatever PID you give). You need to

sched_setscheduler and pids/threads

2005-03-09 Thread Dave Airlie
Hi all, I'm a bit confused over 2.6 threading with respects to real time scheduling settings... In 2.6 all my threads appear as a single PID, if I use chrt -p will it set the scheduling priority for my main thread or for all threads in the application? Can I used the thread IDs from

sched_setscheduler and pids/threads

2005-03-09 Thread Dave Airlie
Hi all, I'm a bit confused over 2.6 threading with respects to real time scheduling settings... In 2.6 all my threads appear as a single PID, if I use chrt -p pid will it set the scheduling priority for my main thread or for all threads in the application? Can I used the thread IDs from

Re: sched_setscheduler and pids/threads

2005-03-09 Thread Robert Love
On Thu, 2005-03-10 at 15:12 +1100, Dave Airlie wrote: In 2.6 all my threads appear as a single PID,if I use chrt -p pid will it set the scheduling priority for my main thread or for all threads in the application? For just the main thread (or the thread of whatever PID you give). You need to