Home > Archive > Unix Programming > April 2008 > Nice threads
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Ivan Chernetsky 2008-04-02, 4:45 am |
| Hi!
It is possible to nice POSIX threads?
| |
| Eric Sosman 2008-04-02, 7:42 pm |
| Ivan Chernetsky wrote:
> Hi!
>
> It is possible to nice POSIX threads?
Try "man -s2 priocntl". Scheduling policies differ
somewhat between Unix implementations, so you may need
to play around a bit to find the combination that works
for you.
--
Eric.Sosman@sun.com
| |
| Geoff Clare 2008-04-03, 8:41 am |
| Ivan Chernetsky wrote:
> It is possible to nice POSIX threads?
Look for information on pthread_attr_setschedparam(),
pthread_attr_setschedpolicy(), pthread_setschedparam()
and pthread_setschedprio().
--
Geoff Clare <netnews@gclare.org.uk>
|
|
|
|
|