-
Notifications
You must be signed in to change notification settings - Fork 448
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
[Feat] Better control of threads executed by opentelemetry-cpp #3174
Comments
This was discussed earlier, with some proposal here - #1822 (comment) |
There is another discussion in #1250 , I think the best solution is implementing a event driven module, which just like libuv, libevent, boost.asio or other simular solution. We can handle timer callback and IO event in a shared thread pool. |
This is not about thread scheduling. The need here is to add hooks to an opentelemetry-cpp thread, to get a chance to execute at strategic locations: |
Context
The opentelemetry-cpp uses threads internally, for various components.
For example:
Problem
An application that links with the opentelemetry-cpp library may have additional constraints, and may want to control at a very low level how the code executes within a thread.
For example:
Currently, there is no way to implement any of this from an application that uses opentelemetry-cpp.
The text was updated successfully, but these errors were encountered: