a0GetThreadScheduling()

Gets the scheduling rule of a thread.


Syntax

a0tError a0GetThreadScheduling(
a0tThread *thread,
a0tScheduling *sched );

Arguments

Namerd/wrDescription
thread read Thread to find out the scheduling rule
sched write The sceduling rule of the given thread.

Description

On return of this function, the variable pointed by sched contains the scheduling rule of a given 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 a0SetDefaultScheduling() a0SetThreadScheduling()