Subj : How to change thread priority without being root To : comp.programming.threads From : yccheok Date : Sun Jul 31 2005 01:17 pm This seems a common question. I searched through the group and web. However, I cann't get any answer for this. I post the question here with the hope I can get my doubt answered. Thank you very much! Currently, I have several threads. I need the threads to run in difference priority. I realize that I cann't use SCHED_FIFO or SCHED_RR since they requires root access. (and my client doesn't have root access on their machine) 1. I try to use SCHED_OTHER. However, the min and the max priority for SCHED_OTHER are both 0. I cann't change the thread priority statically through SCHED_OTHER? May I know how I can let the user changes their thread priority without having root access. Thank you very much! .