|
Prev: cant' print the contents of a character*(*) string in gdb thatis passed in a fortran subroutine
Next: cant' print the contents of a character*(*) string in gdb that is passed in a fortran subroutine
From: louisrom1 on 8 Apr 2008 06:29 Hi does somebody know how to control priority (under windows XP) of a process built Compaq Visual Fortran (CVF) version 6.6.B ? Thanks
From: David Jones on 8 Apr 2008 07:44 louisrom1(a)gmail.com wrote: > Hi > > does somebody know how to control priority (under windows XP) of a > process built Compaq Visual Fortran (CVF) version 6.6.B ? > > Thanks Either use taskmanager to chage the priority once started, or start the execution with a command at the command-prompt like: start /BELOWNORMAL dir/name.exe which has another possibly useful options: /LOW for low priority, /WAIT to wait for exection to finish. Enter "help start" at command prompt for others. You may be able to enter this start command somewhere in Project/Settings in the IDE. ------------ And now a word from our sponsor ------------------ Want to have instant messaging, and chat rooms, and discussion groups for your local users or business, you need dbabble! -- See http://netwinsite.com/sponsor/sponsor_dbabble.htm ----
From: dpb on 8 Apr 2008 09:15 Ulouisrom1(a)gmail.com wrote: > Hi > > does somebody know how to control priority (under windows XP) of a > process built Compaq Visual Fortran (CVF) version 6.6.B ? Use a direct call to the OS API's for process control. The Win32 API documentation is on the CVF distribution CD. --
From: louisrom1 on 8 Apr 2008 09:36 On Apr 8, 1:44 pm, "David Jones" <dajx...(a)ceh.ac.uk> wrote: > louisr...(a)gmail.com wrote: > > Hi > > > does somebody know how to control priority (under windows XP) of a > > process built Compaq Visual Fortran (CVF) version 6.6.B ? > > > Thanks > > Either use taskmanager to chage the priority once started, or start the execution with a command at the command-prompt like: > > start /BELOWNORMAL dir/name.exe > > which has another possibly useful options: /LOW for low priority, /WAIT to wait for exection to finish. Enter "help start" at command prompt for others. You may be able to enter this start command somewhere in Project/Settings in the IDE. > ------------ And now a word from our sponsor ------------------ > Want to have instant messaging, and chat rooms, and discussion > groups for your local users or business, you need dbabble! > -- Seehttp://netwinsite.com/sponsor/sponsor_dbabble.htm ---- ok but I 'd like the process to be low priority systematically, without having to come back on the process to do it each I start one
From: dpb on 8 Apr 2008 10:37
louisrom1(a)gmail.com wrote: > On Apr 8, 1:44 pm, "David Jones" <dajx...(a)ceh.ac.uk> wrote: >> louisr...(a)gmail.com wrote: >>> Hi >>> does somebody know how to control priority (under windows XP) of a >>> process built Compaq Visual Fortran (CVF) version 6.6.B ? .... >> ... start the execution with a command at the command-prompt like: >> >> start /BELOWNORMAL dir/name.exe >> >> which has another possibly useful options: /LOW for low priority,... .... > ok but I 'd like the process to be low priority systematically, > without having to come back on the process to do it each I start one Well, you have to start the process anyway, using start to do so is only a single step--a batch file could shorten the keystrokes down to a bare minimum. Otherwise, you would have to use the OS API call from within the app itself to change its own priority I think. If there's a way to encode a desired priority into an .exe header, I don't know about it--a search of MSDN would undoubtedly uncover that tidbit of info there were such a thing; I've never looked for that specifically. -- |