medium10 pts · first answer countsfirmwarertosc-language
Two tasks share strtok
Two RTOS tasks both parse commands with strtok(). Now and then a task gets tokens from the other task's string. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Delaying inside an RTOS taskEmbedded Systems Engineer
- First words read after resetEmbedded Systems Engineer
- Why registers are volatileEmbedded Systems Engineer
- Value of an uninitialised globalEmbedded Systems Engineer
- Where initialised globals come fromEmbedded Systems Engineer
- Signals used by SWDEmbedded Systems Engineer
- Garbage characters on the consoleEmbedded Systems Engineer
- I2C lines sitting at 0 VEmbedded Systems Engineer