Skip to content

RemoteInspection: Add AsyncTaskInfo.IsSuspended based on HasTaskDependency #82965

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kastiglione
Copy link
Contributor

@kastiglione kastiglione commented Jul 10, 2025

Adds an IsSuspended field to AsyncTaskInfo, which is the same value as HasTaskDependency, but uses the Is<State> naming to match IsEnqueued, IsRunning, and IsComplete.

Based on the docs in Task.h:

/// A task can have the following states:
///   * suspended: In this state, a task is considered not runnable
///   * enqueued: In this state, a task is considered runnable
///   * running on a thread
///   * completed

rdar://148663671

@kastiglione kastiglione requested a review from a team as a code owner July 10, 2025 20:40
@kastiglione kastiglione force-pushed the dl/RemoteInspection-Add-AsyncTaskInfo.IsSuspended-based-on-HasTaskDependency branch from 03fa471 to 3c3872f Compare July 10, 2025 20:42
@kastiglione kastiglione changed the base branch from release/6.2 to main July 10, 2025 20:42
@kastiglione kastiglione force-pushed the dl/RemoteInspection-Add-AsyncTaskInfo.IsSuspended-based-on-HasTaskDependency branch from 3c3872f to 5ebb1c1 Compare July 10, 2025 20:42
@kastiglione kastiglione requested a review from mikeash July 10, 2025 20:43
@kastiglione
Copy link
Contributor Author

@swift-ci smoke test

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.

2 participants