a0SetDefaultPriority()

Sets the default thread priority.


Syntax

a0tError a0GetDefaultPriority(
int priority );

Arguments

Namerd/wrDescription
priority write Default priority.

Description

This function sets the default thread scheduling priority. See A0DefaultPriority for possible values.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

A0DefaultPriority a0StartRemoteThread() a0NewService() a0GetThreadPriority() a0SetThreadPriority()