File tree Expand file tree Collapse file tree
torch/csrc/distributed/rpc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -553,7 +553,7 @@ void RRefContext::delPendingChild(const ForkId& forkId) {
553553 // in which the lock is acquired again.
554554 // So it must be destructed with the lock released.
555555 // Meet this constraint by creating a temporary pointer to increase the
556- // refcount, extending its lifetime untill lock released.
556+ // refcount, extending its lifetime until lock released.
557557 deletedUser = iter->second ; // Increase refcount.
558558 pendingChildren_.erase (iter); // Decrease refcount.
559559 } else {
@@ -614,7 +614,7 @@ void RRefContext::delPendingUser(const ForkId& forkId) {
614614 // acquired again. Hence, it must be destructed with the lock released.
615615 // To meet this constraint, we intentionally create a temporary pointer
616616 // to increase the refcount of the deleted PendingUserState, extending
617- // its lifetime untill lock released.
617+ // its lifetime until lock released.
618618 // (2) Since #34497, a user function only runs after all RRefs in the
619619 // arguments are confirmed by their owners, which is done by adding the
620620 // RPC processing logic as a callback to the UserRRef ready future. So,
You can’t perform that action at this time.
0 commit comments