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

Fix SingletonPtr problems #2503

Merged
merged 1 commit into from
Aug 23, 2016
Merged

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Aug 19, 2016

Check to see if ptr is NULL after acquiring the singleton lock to
prevent initialization race conditions. Also explicitly call the
constructor for type T.

Check to see if ptr is NULL after acquiring the singleton lock to
prevent initialization race conditions. Also explicitly call the
constructor for type T.
@c1728p9
Copy link
Contributor Author

c1728p9 commented Aug 19, 2016

/morph test

@c1728p9
Copy link
Contributor Author

c1728p9 commented Aug 19, 2016

@mbed-bot: TEST

HOST_OSES=ALL
BUILD_TOOLCHAINS=GCC_ARM
TARGETS=K64F,NRF51_DK,NRF51_MICROBIT,NUCLEO_F411RE

@mbed-bot
Copy link

[Build 825]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 676

All builds and test passed!

@sg-
Copy link
Contributor

sg- commented Aug 23, 2016

@c1728p9 Is the plan to rename in a separate patch?

@c1728p9
Copy link
Contributor Author

c1728p9 commented Aug 23, 2016

I'm not sure if there is a consensus on renaming yet.

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 23, 2016

I'm not sure if there is a consensus on renaming yet.

@c1728p9 Is the plan to rename in a separate patch?

Yes, please keep that as a separate patch

@0xc0170 0xc0170 merged commit 58897c6 into ARMmbed:master Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants