From owner-ntemacs-users@june  Thu Oct 10 14:17:28 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "10" "October" "1996" "16:22:45" "-0400" "David Biesack" "sasdjb@unx.sas.com" nil "25" "> High-priority Emacs" "^From:" nil nil "10" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id OAA02393 for <voelker@june.cs.washington.edu>; Thu, 10 Oct 1996 14:17:28 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id OAA25994 for <voelker@joker.cs.washington.edu>; Thu, 10 Oct 1996 14:17:26 -0700
Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by june.cs.washington.edu (8.7.6/7.2ju) with SMTP id NAA27197 for <ntemacs-users@cs.washington.edu>; Thu, 10 Oct 1996 13:22:56 -0700
Received: from mozart by lamb.sas.com (5.65c/SAS/Gateway/01-23-95) 	id AA18886; Thu, 10 Oct 1996 16:22:55 -0400
Received: from lambda.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) 	id AA09678; Thu, 10 Oct 1996 16:22:45 -0400
Received: by lambda.unx.sas.com (5.65c/SAS/Generic 9.01/3-26-93) 	id AA20538; Thu, 10 Oct 1996 16:22:45 -0400
Message-Id: <199610102022.AA20538@lambda.unx.sas.com>
In-Reply-To: <2.2.32.19961010185902.006a4f4c@darkstar.isi.edu> (message from 	Neil Goldman on Thu, 10 Oct 1996 11:59:02 -0700)
From: David Biesack <sasdjb@unx.sas.com>
To: ntemacs-users@cs.washington.edu
Subject: > High-priority Emacs
Date: Thu, 10 Oct 1996 16:22:45 -0400


> >    SetPriorityClass (GetCurrentProcess(), HIGH_PRIORITY_CLASS);
> 
> Is there some reason why the priority must be fixed at COMPILE time?
> Can't it be set at program load time, or dynamically changed while executing?

Sure. You can change it from NT 4.0's Task Manager. Select
the process view, RMB on the Emacs process, and Set priority.

>From the command line, you can do

  nice <emacspid> HIGH

to change it to high. I got nice.exe from, gee, where did that come
from? Oh, ya, follow

  http://www.microsoft.com/ntserver/tools/Maintnce.htm#top

to

   ftp://ftp.winsite.com/pub/pc/winnt/misc/littles.zip

Too bad Emacs' (process-id) function can't return the Emacs
process id... you have to use the ps.exe from littles.zip to find it.
I'll leave that as an exercise :-)

