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
Merge threads.h into threading/thread.h #4047
Conversation
I'm not on board with changing all of the threadid_ts to something else. |
src/threading/thread.h
Outdated
@@ -158,9 +203,9 @@ class Thread { | |||
Mutex m_mutex; | |||
|
|||
#if !USE_CPP11_THREADS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be #ifndef USE_CPP11_THREADS, or (better) combined with the #if USE_CPP11_THREADS on line 220
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't change this line in this PR.
👎 for renaming threadid_t |
Just a friendly ping on this PR. I am on board with consolidating the threads code into a single file, but not the threadid_t rename. It seems unnecessary and setting that kind of precedent means we'd have to change content_t as well which is another big find & replace operation that doesn't actually provide tangible benefit to the project. Could you split the two changes into distinct PRs? Or would you prefer that I close this one out for you and open a new one that just merges the threading files instead? |
I have the same opinion as @kwolekr on this subject |
092e04b
to
bf92fd6
Compare
@kwolekr: Changed back to |
i'm closing this, we are near feature freeze and this part will be refactored after release to use pure C++11 |
Now we only have one file for thread management.