Skip to content

In this example code two POSIX Linux threads are created. The "CAM" thread implements a state machine that has knowledge of it's current status at any given time. The other thread operates the CAM thread services using its function call based message interface and cycles through the states in its state machine. The CAM state machine checks to se…

License

Notifications You must be signed in to change notification settings

arembedded/state_machine_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

state_machine_example

In this example code two POSIX Linux threads are created. The "CAM" thread implements a state machine that has knowledge of it's current status at any given time. The other thread operates the CAM thread services using its function call based message interface and cycles through the states in its state machine. The CAM state machine checks to see if an incoming command for state transition is received in a valid state. It will only transition its state if the transition event is received in the appropriate state.

About

In this example code two POSIX Linux threads are created. The "CAM" thread implements a state machine that has knowledge of it's current status at any given time. The other thread operates the CAM thread services using its function call based message interface and cycles through the states in its state machine. The CAM state machine checks to se…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published