File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
include/swift/RemoteInspection Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ class ReflectionContext
197
197
bool IsRunning;
198
198
bool IsEnqueued;
199
199
bool IsComplete;
200
+ bool IsSuspended;
200
201
201
202
bool HasThreadPort;
202
203
uint32_t ThreadPort;
@@ -1784,6 +1785,8 @@ class ReflectionContext
1784
1785
Info.IsEscalated = TaskStatusFlags & ActiveTaskStatusFlags::IsEscalated;
1785
1786
Info.IsEnqueued = TaskStatusFlags & ActiveTaskStatusFlags::IsEnqueued;
1786
1787
Info.IsComplete = TaskStatusFlags & ActiveTaskStatusFlags::IsComplete;
1788
+ Info.IsSuspended =
1789
+ TaskStatusFlags & ActiveTaskStatusFlags::HasTaskDependency;
1787
1790
1788
1791
setIsRunning (Info, AsyncTaskObj.get ());
1789
1792
std::tie (Info.HasThreadPort , Info.ThreadPort ) =
Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ struct ActiveTaskStatusFlags {
113
113
static const uint32_t IsRunning = 0x800 ;
114
114
static const uint32_t IsEnqueued = 0x1000 ;
115
115
static const uint32_t IsComplete = 0x2000 ;
116
+ static const uint32_t HasTaskDependency = 0x4000 ;
116
117
};
117
118
118
119
template <typename Runtime, typename ActiveTaskStatus>
You can’t perform that action at this time.
0 commit comments