Skip to content

Conversation

akukanov
Copy link
Contributor

@akukanov akukanov commented Aug 5, 2025

Description

After introducing in #1779 a couple of additional operations in get_task (which is on the hot path in the task scheduler) that are only useful when the scheduler runs in the task isolation mode, I thought that maybe this function deserves two separate implementations, with and without isolation. This PR elaborates on that idea.

Additionally, it unifies the handling of proxy tasks in get_task and steal_task into a single routine task_proxy::try_extract_task_from.

Type of change

  • Refactoring/optimization

Tests

  • not needed - covered by the existing tests

Documentation

  • not needed

Breaks backward compatibility?

  • No

Other information

The PR is developed on top of #1779, and so should either be merged afterwards or significantly changed if the base PR is rejected.

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.

1 participant