ThreadPriorities

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Enum 
          Member of  ScriptUtils Use ThreadPriorities object 

Description

Priority values for the thread.

Values

tpIdle = &HFFFFFFF1-15  Lowest thread priority
tpLowest = &HFFFFFFFE-2  Indicates 2 points below normal priority for the priority class.
tpBellowNormal = &HFFFFFFFF-1  Indicates 1 point below normal priority for the priority class.
tpNormal = &H0 Indicates normal priority for the priority class.
tpAboveNormal = &H1  Indicates 1 point above normal priority for the priority class.
tpHighest = &H2 Indicates 2 points above normal priority for the priority class.
tpTimeCritical = &HF15  Indicates a base-priority level of 15.

Includes  
'ThreadPriorities - begin
Public Const tpIdle = &HFFFFFFF1 'Lowest thread priority
Public Const tpLowest = &HFFFFFFFE 'Indicates 2 points below normal priority for the priority class.
Public Const tpBellowNormal = &HFFFFFFFF 'Indicates 1 point below normal priority for the priority class.
Public Const tpNormal = &H0 'Indicates normal priority for the priority class.
Public Const tpAboveNormal = &H1 ' Indicates 1 point above normal priority for the priority class.
Public Const tpHighest = &H2 'Indicates 2 points above normal priority for the priority class.
Public Const tpTimeCritical = &HF 'Indicates a base-priority level of 15.
'ThreadPriorities - end
'ThreadPriorities - begin
Public Const tpIdle As Long = &HFFFFFFF1 'Lowest thread priority
Public Const tpLowest As Long = &HFFFFFFFE 'Indicates 2 points below normal priority for the priority class.
Public Const tpBellowNormal As Long = &HFFFFFFFF 'Indicates 1 point below normal priority for the priority class.
Public Const tpNormal As Long = &H0 'Indicates normal priority for the priority class.
Public Const tpAboveNormal As Long = &H1 ' Indicates 1 point above normal priority for the priority class.
Public Const tpHighest As Long = &H2 'Indicates 2 points above normal priority for the priority class.
Public Const tpTimeCritical As Long = &HF 'Indicates a base-priority level of 15.
'ThreadPriorities - end
Public Enum ThreadPriorities
  tpIdle = &HFFFFFFF1 'Lowest thread priority
  tpLowest = &HFFFFFFFE 'Indicates 2 points below normal priority for the priority class.
  tpBellowNormal = &HFFFFFFFF 'Indicates 1 point below normal priority for the priority class.
  tpNormal = &H0 'Indicates normal priority for the priority class.
  tpAboveNormal = &H1 ' Indicates 1 point above normal priority for the priority class.
  tpHighest = &H2 'Indicates 2 points above normal priority for the priority class.
  tpTimeCritical = &HF 'Indicates a base-priority level of 15.
End Enum 'ThreadPriorities
//ThreadPriorities - begin
var tpIdle = 0xFFFFFFF1; //Lowest thread priority
var tpLowest = 0xFFFFFFFE; //Indicates 2 points below normal priority for the priority class.
var tpBellowNormal = 0xFFFFFFFF; //Indicates 1 point below normal priority for the priority class.
var tpNormal = 0x0; //Indicates normal priority for the priority class.
var tpAboveNormal = 0x1; // Indicates 1 point above normal priority for the priority class.
var tpHighest = 0x2; //Indicates 2 points above normal priority for the priority class.
var tpTimeCritical = 0xF; //Indicates a base-priority level of 15.
//ThreadPriorities - end
// ThreadPriorities
typedef [helpcontext(0x2002F), helpstring("Priority values for the thread.")]
enum ThreadPriorities{
	[helpcontext(0x2002F), helpstring("Lowest thread priority")]
		tpIdle = 0xFFFFFFF1,
	[helpcontext(0x2002F), helpstring("Indicates 2 points below normal priority for the priority class.")]
		tpLowest = 0xFFFFFFFE,
	[helpcontext(0x2002F), helpstring("Indicates 1 point below normal priority for the priority class.")]
		tpBellowNormal = 0xFFFFFFFF,
	[helpcontext(0x2002F), helpstring("Indicates normal priority for the priority class.")]
		tpNormal = 0x0,
	[helpcontext(0x2002F), helpstring(" Indicates 1 point above normal priority for the priority class.")]
		tpAboveNormal = 0x1,
	[helpcontext(0x2002F), helpstring("Indicates 2 points above normal priority for the priority class.")]
		tpHighest = 0x2,
	[helpcontext(0x2002F), helpstring("Indicates a base-priority level of 15.")]
		tpTimeCritical = 0xF
} ThreadPriorities;

Used in

  Other links for ThreadPriorities class

ASP file upload and ScriptUtilities classes

ScriptUtils

     Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 2GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance.

     The software has also a free version of asp upload with progress, called Pure asp upload, written in plain VBS, without components (so you do not need to install anything on server).

     This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files, works with binary data, you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.


© 1996 – 2008 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 2.20.24