File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -999,15 +999,15 @@ static_assert(sizeof(ActiveActorStatus) == ACTIVE_ACTOR_STATUS_SIZE,
999999
10001000class DefaultActorImplHeader : public HeapObject {
10011001protected:
1002+ // TODO (rokhinip): Make this a flagset
1003+ bool isDistributedRemoteActor;
10021004#if SWIFT_CONCURRENCY_ACTORS_AS_LOCKS
10031005 // If actors are locks, we don't need to maintain any extra bookkeeping in the
10041006 // ActiveActorStatus since all threads which are contending will block
10051007 // synchronously, no job queue is needed and the lock will handle all priority
10061008 // escalation logic
10071009 Mutex drainLock;
10081010#else
1009- // TODO (rokhinip): Make this a flagset
1010- bool isDistributedRemoteActor;
10111011 // Note: There is some padding that is added here by the compiler in order to
10121012 // enforce alignment. This is space that is available for us to use in
10131013 // the future
You can’t perform that action at this time.
0 commit comments