This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Fixing Priority
- From: "Lalit Seth" <laalit_seth at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 04 Nov 2004 13:05:26 +0530
- Subject: Fixing Priority
- Bcc:
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!