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

Marked thread-spawning constructors as deprecated #2055

Merged
merged 1 commit into from
Jul 1, 2016

Conversation

geky
Copy link
Contributor

@geky geky commented Jun 28, 2016

Thread-spawning constructors hide errors and may lead to complex program state when a thread is declared.

The explicit Thread::start member function should be used to spawn a thread.

More info:
#79
#2024

cc @pan-, @niklas-arm, @0xc0170

Thread-spawning constructors hide errors and may lead to complex
program state when a thread is declared.

The explicit Thread::start member function should be used to spawn
a thread.
@pan-
Copy link
Member

pan- commented Jun 29, 2016

Looks good.

Is there any link to our deprecation policy ?

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 29, 2016

Is there any link to our deprecation policy ?

Fair point, not yet. I would suggest stating explicitly in the message for how long it stays deprecated (removed by x.x.x release) - to track the lifetime of deprecated attributes.

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 1, 2016

LGTM

Let's not forget to state this deprecate msg in the release notes

@0xc0170 0xc0170 merged commit d3f95d2 into ARMmbed:master Jul 1, 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.

3 participants