I have 3 tasks I am trying to get running. I have the initial task (0) which runs and calls os_create_task for task 1 and 2. If I leave a while(1) loop in task 0, it runs as I expect, however, the other tasks don't run at all. I have an os_wait(K_TMO, 100, 0) in all three tasks. If I delete and exit task 0, nothing runs.
I have read the other posts about this topic, but they did not help me resolve my problem.
Any help is appreciated.
Thanks.
Sorry. Yes, I have everything set up correctly. I am able to get task 0 called.
Are you trying to run on a target board or the simulator?
Task 0 is called via RTX. It is your main() for this application.
If you are using the simulator, open the RTX-Tiny Task List to monitor the conditions of your tasks.
Tell us what you see in the Task List.
Can you run the posted example code?