File tree Expand file tree Collapse file tree 5 files changed +370
-226
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 5 files changed +370
-226
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ enum : uint32_t {
52
52
// / The actor is ready for deallocation once it stops running
53
53
Zombie_ReadyForDeallocation = 0x3 ,
54
54
55
- // Bit 3
56
- DistributedRemote = 0x8 ,
55
+ // Bit 3 is free
56
+
57
57
// Bit 4
58
58
IsPriorityEscalated = 0x10 ,
59
59
Original file line number Diff line number Diff line change @@ -203,8 +203,8 @@ class ReflectionContext
203
203
StoredPointer FirstJob;
204
204
205
205
uint8_t State;
206
- bool IsDistributedRemote;
207
206
bool IsPriorityEscalated;
207
+ bool IsDistributedRemote;
208
208
uint8_t MaxPriority;
209
209
210
210
bool HasThreadPort;
@@ -1737,13 +1737,12 @@ class ReflectionContext
1737
1737
1738
1738
uint32_t Flags = ActorObj->Status .Flags [0 ];
1739
1739
Info.State = Flags & concurrency::ActorFlagConstants::ActorStateMask;
1740
- Info.IsDistributedRemote =
1741
- Flags & concurrency::ActorFlagConstants::DistributedRemote;
1742
1740
Info.IsPriorityEscalated =
1743
1741
Flags & concurrency::ActorFlagConstants::IsPriorityEscalated;
1744
1742
Info.MaxPriority =
1745
1743
(Flags & concurrency::ActorFlagConstants::PriorityMask) >>
1746
1744
concurrency::ActorFlagConstants::PriorityShift;
1745
+ Info.IsDistributedRemote = ActorObj->IsDistributedRemote ;
1747
1746
1748
1747
// Don't read FirstJob when idle.
1749
1748
if (Info.State != concurrency::ActorFlagConstants::Idle) {
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ struct DefaultActorImpl {
176
176
HeapObject<Runtime> HeapObject;
177
177
Job<Runtime> JobStorage;
178
178
ActiveActorStatus Status;
179
+ bool IsDistributedRemote;
179
180
};
180
181
181
182
template <typename Runtime>
You can’t perform that action at this time.
0 commit comments