CMCIS OSv2/FreeRTOS and Thread State
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-28 9:48 AM
Just started playing with FreeRTOS on a NUCLEO-H563ZI board using CMCIS OSv2.
Why does osThreadGetState() translate eSuspended to osThreadBlocked? I suspended a thread and then checked its state with osThreadGetState() which reports the state as blocked, not suspended.
Does it matter?
Labels:
- Labels:
-
Other Tools
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-28 12:36 PM
That's what the documentation says it will do.
If you feel a post has answered your question, please click "Accept as Solution".
