You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by lo...@apache.org on 2021/09/24 10:31:28 UTC

[incubator-brpc] branch master updated: Update sampler.cpp

This is an automated email from the ASF dual-hosted git repository.

lorinlee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 6de4720  Update sampler.cpp
     new c8da2f3  Merge pull request #1565 from Agent-Tao/master
6de4720 is described below

commit 6de4720a2ec760a17f7bd89dc09f279c66c785bf
Author: jiangtao <ho...@126.com>
AuthorDate: Fri Sep 24 13:35:50 2021 +0800

    Update sampler.cpp
    
    fix typo
---
 src/bvar/detail/sampler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bvar/detail/sampler.cpp b/src/bvar/detail/sampler.cpp
index 9ff91bf..3a14b37 100644
--- a/src/bvar/detail/sampler.cpp
+++ b/src/bvar/detail/sampler.cpp
@@ -131,7 +131,7 @@ void SamplerCollector::run() {
 #ifndef UNIT_TEST
     // NOTE:
     // * Following vars can't be created on thread's stack since this thread
-    //   may be adandoned at any time after forking.
+    //   may be abandoned at any time after forking.
     // * They can't created inside the constructor of SamplerCollector as well,
     //   which results in deadlock.
     if (s_cumulated_time_bvar == NULL) {

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org