This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fixing Priority


Hi,

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.

Why?

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
Daemon?

Many Thanks

_________________________________________________________________
Mergers, takeovers, buyouts. Get all the latest biz bytes. http://www.msn.co.in/business/ Tune in to MSN Business!



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]