28
K
A
DAK
Application Tasks
event of interest
or timeout occurs
ajtri
g
- trigger a task
ajwai
t
-wait
ajwat
m
-timed wait
ajsen
-send message to task
mailbox and wait for ack
ajmxwa
t
-wait on a message exchange
ajsmrs
v
-reserve a resource
ajsmwa
t
-wait on a semaphore
ajevwa
t
-wait for event
task ends or is
interrupted
no higher priority
task running
no requests
outstanding
Idle
Ready
Run
Wait
ajsgwa
t
-wait for task signal
ajsen
d
- send message to a task
Figure 3.2-1 AMX Task State Diagram