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

Separate thread for cancellation tasks #1335

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrey-kashcheev
Copy link
Collaborator

This commit introduces separate thread specifically for the cancellation
tasks. By doing so we may speed up final callback execution as task
won't wait for its turn in the main busy queue and instead will be
executed on the separate usually free thread.
This is a quite bold move as we always allocate one additional thread
regardless of user-specified total threads number.

Relates-To: OLPSUP-17825
Signed-off-by: Andrey Kashcheev ext-andrey.kashcheev@here.com

This commit introduces separate thread specifically for the cancellation
tasks. By doing so we may speed up final callback execution as task
won't wait for its turn in the main busy queue and instead will be
executed on the separate usually free thread.
This is a quite bold move as we always allocate one additional thread
regardless of user-specified total threads number.

Relates-To: OLPSUP-17825
Signed-off-by: Andrey Kashcheev <ext-andrey.kashcheev@here.com>
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.

None yet

1 participant