Skip to content

make freeRtos thread wrapper more dynamic #726

Answered by salkinium
kikass13 asked this question in Q&A
Discussion options

You must be logged in to vote

modm inherited the wrappers from a now defunct code base by @roboterclubaachen in 2008, where they were used to abstract a common interface for std::thread and whatever FreeRTOS API was available back then, so that embedded code could run on the desktop with less modification.

I don't like these classes, I think the abstraction is very shallow and doesn't add much value. So if you want to change it, feel free to open a PR, however, it's perhaps better to use the FreeRTOS API directly and just ignore this abstraction.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by salkinium
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #567 on September 29, 2021 14:47.