mnSetPriority

This command changes the priority of the specified thread. By default the threads’ priority is the same as the process where mnStart was used.

The following priority values are available:

Value Name
-2 Low
-1 Below Normal
0 Normal
1 Above Normal
2 High
3 Real Time

This command must be used after mnStart and the thread ID must be between 0 and the number of threads set by mnStart. If the thread ID is 0 then all threads will be affected. The priority parameter must be between -2 and 3.

Parameters

int ThreadID: This is the thread that the command should use.

int Priority: This is the priority that the thread should be set to.

Returns (Integer)

0 if no error occurred

-1 if an error occurred.

Present in

C++

DBP

.Net




This page is in the following sections:
(2) Networking Commands
(1) Networking
(0) DarkNet Help