Subj : how can I change the priority of thread during Runtime? To : comp.unix.programmer,comp.programming.threads From : Luotao Fu Date : Tue Sep 20 2005 03:10 pm Hi volks, I'm wondering how I can change the priority of a thread during the runtime. For example, a thread reduce its priority itself or increase the priority of another thread while it's running. pthread_attr_setschedparam() seem to only work outside the thread and befor the Creation of the thread to me. For processes I'd use sched_setscheduler() to change their priorities in Runtime. I read that sched_setscheduler() also works on threads unter Linux, but it's not posix compliant. The posix compatibility is however very important for me in this case, thus I suppose that I cannot use sched_setscheduler(). I'd be very appreciated for any Advices how I could do this with posix Threads. Thanx a lot Cheers Luotao Fu .