-
Notifications
You must be signed in to change notification settings - Fork 851
Register task threads before scheduling tasks #8981
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
Conversation
|
[approve ci autest] |
|
Hmm, not sure why this is failing the verify plugin tests with |
|
In case it's helpful, it looks like the verify_global_plugin test fails with a seg fault: |
Yeah, it's weird that it says |
|
[approve ci autest] |
7d4311d to
0e6fb6e
Compare
|
[approve ci autest] |
0e6fb6e to
96606db
Compare
| std::unique_lock<std::mutex> lock(pluginInitMutex); | ||
| plugin_init_done = true; | ||
| lock.unlock(); | ||
| pluginInitCheck.notify_one(); |
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.
Any good reason to not notify all? It might be the case in the future that other things wait on plugin initialization, although really this could be fixed at that point.
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.
Actually I thought about changing it to notify_all(), but then I thought since we only have one place that's waiting for it, probably should not change it.
|
[approve ci] |
|
hmm, I can't seem to get some of the ci builds to start ? |
|
[approve ci autest] |
|
Do we need this for 9.2.2 ? |
Co-authored-by: Fei Deng <feid@yahooinc.com> (cherry picked from commit 1fdb376) Co-authored-by: Fei Deng <duke8253@gmail.com>
As discussed yesterday in the meeting, this will replace #8708