-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for C++ Support as of release 2.1 #18554
Comments
@galak @vanwinkeljan FYI. |
@pabigot Thanks for collecting this list. If you will be working on this towards 2.1 it would be nice if you could comment it in one of the coming TSC meetings so others are made aware of it. |
This comment has been minimized.
This comment has been minimized.
A while ago I started looking at taking the conventional route to support std::thread, std::mutex, and std::condition_variable (basically wrapping all of it around pthread using gthr.h). Would involve minor modifications to the toolchain. Wrapping pthread requires pthread_create to accept a NULL attr, which requires dynamically allocated thread stacks, ..., dynamic kobject, heap allocator modifications. I'm hopefully at the bottom of that rabbit hole now 😅 A lot of it will be necessary without even using pthread, but wrapping pthread would be a useful shortcut even though it might add to the footprint. Definitely interested in helping out with this effort. Also highly related is std::chrono, nanosleep, etc. |
2.1 is long gone. |
Issues that impact C++ support as of Zephyr release 2.1
Not yet worked or need review:
PR pending
Resolved
void *
totype *
in C++ builds-Wold-style-definition
from C++ builds ; pr cmake: toolchain: generalize exclusion of CXX options #21398The text was updated successfully, but these errors were encountered: