Skip to content

Commit bcf40eb

Browse files
authored
[RPC] Fix typo in rref_context.cpp
untill -> until
1 parent 3ce51fd commit bcf40eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

torch/csrc/distributed/rpc/rref_context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)