Skip to content
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

Thread safe tools patch #1902

Closed
wants to merge 7 commits into from
Closed

Thread safe tools patch #1902

wants to merge 7 commits into from

Conversation

sg-
Copy link
Contributor

@sg- sg- commented Jun 10, 2016

No description provided.

c1728p9 and others added 7 commits June 10, 2016 21:49
Make the mbed C++ API thread safe by adding a combination of
mutexes and critical sections.  Stub out all mutexes when the
RTOS is not present.
Document public classes to indicate level of protection provided.
Add printf functions intended for errors which are safe to call from
interrupts.  Update assert and error to use this function.
Add a virtual lock for the classes which are thread safe.  This
allows the use of a mutex to be overridden.
…ll to inject during build as would happen when source + config is released in sync
@sg-
Copy link
Contributor Author

sg- commented Jun 11, 2016

This is a WiP from #1863

@sg- sg- closed this Jun 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants