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,
999
999
1000
1000
class DefaultActorImplHeader : public HeapObject {
1001
1001
protected:
1002
+ // TODO (rokhinip): Make this a flagset
1003
+ bool isDistributedRemoteActor;
1002
1004
#if SWIFT_CONCURRENCY_ACTORS_AS_LOCKS
1003
1005
// If actors are locks, we don't need to maintain any extra bookkeeping in the
1004
1006
// ActiveActorStatus since all threads which are contending will block
1005
1007
// synchronously, no job queue is needed and the lock will handle all priority
1006
1008
// escalation logic
1007
1009
Mutex drainLock;
1008
1010
#else
1009
- // TODO (rokhinip): Make this a flagset
1010
- bool isDistributedRemoteActor;
1011
1011
// Note: There is some padding that is added here by the compiler in order to
1012
1012
// enforce alignment. This is space that is available for us to use in
1013
1013
// the future
You can’t perform that action at this time.
0 commit comments