Skip to content

Commit 8c43800

Browse files
authored
Merge pull request #39219 from onevcat/patch-2
2 parents c0485b8 + 3cc89bf commit 8c43800

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/Actor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ void DefaultActorImpl::enqueue(Job *job) {
16231623
auto oldStatus = oldState.Flags.getStatus();
16241624
bool wasIdle = oldStatus == Status::Idle;
16251625

1626-
// Update the priority: the prriority of the job we're adding
1626+
// Update the priority: the priority of the job we're adding
16271627
// if the actor was idle, or the max if not. Only the running
16281628
// thread can decrease the actor's priority once it's non-idle.
16291629
// (But note that the job we enqueue can still observe a
@@ -1986,4 +1986,4 @@ bool swift::swift_distributed_actor_is_remote(DefaultActor *_actor) {
19861986
bool DefaultActorImpl::isDistributedRemote() {
19871987
auto state = CurrentState.load(std::memory_order_relaxed);
19881988
return state.Flags.isDistributedRemote();
1989-
}
1989+
}

0 commit comments

Comments
 (0)