a0GetSelfThreadPriority()

Gets the priority of the calling thread.


Syntax

a0tError a0GetSelfThreadPriority(
int *priority );

Arguments

Namerd/wrDescription
priority write The priority of the caller thread.

Description

On return of this function, the variable pointed by priority contains the priority of the calling thread.


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 a0GetThreadPriority() a0SetDefaultPriority() a0SetThreadPriority()