How do I raise the priority of one thread in a multi-threaded process?

From: Alan Stern
Date: Thu Aug 21 2008 - 14:59:02 EST


Can anyone tell me how to raise the priority of one thread in a
multi-threaded process (using the pthreads library)? Neither nice(2)
nor setpriority(2) is appropriate since they affect the priority of an
entire process rather than a single thread.

Thanks,

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/