The default thread scheduling rule.
a0tScheduling A0DefaultScheduling; | |
| |
This global variable contains the Athapascan-0 default thread scheduling rule. The scheduling rules of Athapascan-0 have different priorities between each other and the scheduling policy for each rule is different. The rules are the same supplied by Posix threads. There are four possible scheduling rules, presented in order of priority:
To the user programs find out which scheduling is supported by the version of the Athapascan-0 library being used, there are some predefined macros. They exist only when their counterpart scheduling is supported. They are as follows:
a0SetDefaultScheduling() a0NewService() a0GetThreadScheduling() a0SetThreadScheduling() A0DefaultPriority