How can I adjust a certain thread to have the maximum system priority in the
I've tried doing it this way :
/* Set thread priority. */
(pthread_getschedparam(ts[gnThreadID], &police, ¶m[gnThreadID]) != 0)
("Unable to get priority");
param[gnThreadID].sched_priority = 99;
(pthread_setschedparam(ts[gnThreadID], police, ¶m[gnThreadID]) != 0)
error("Unable to set priority");
However, in 'top', I don't see the process threads switching to -92
priority, like other threads in the system, is something I did wrong or
maybe I might be missing something ?
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"