Fixing Priority

Lalit Seth
Thu Nov 4 07:36:00 GMT 2004


I am having a Multi-Threaded Daemon running on HPUX 11.11 using GCC.

I can see in 'top' that its PRIORITY is somewhere near 236-255 with NICE
vlaue at 20.

There are other process running at priorities at 154, 156 but my daemon
always remain at top of the list.


Also i witnesssed that after few minutes of execution the PRIORITY is
changed to 152.
Why does it change from 242/255 to 152?

Is there any system call through which i can FIX the Priority for my

Many Thanks

Mergers, takeovers, buyouts. Get all the latest biz bytes. Tune in to MSN Business!

More information about the Gcc-help mailing list