a0GetSelfThreadScheduling()

Gets the scheduling rule of the calling thread.


Syntax

a0tError a0GetSelfThreadScheduling(
a0tScheduling *sched );

Arguments

Namerd/wrDescription
sched write The sceduling rule of the caller thread.

Description

On return of this function, the variable pointed by sched contains the scheduling rule 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

A0DefaultScheduling a0GetThreadScheduling() a0SetDefaultScheduling() a0SetThreadScheduling()