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

jamesge 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 103c89a  minor adjust
103c89a is described below

commit 103c89af4382b3c1fe185bc6a01616110fbecb69
Author: Ge Jun <[email protected]>
AuthorDate: Fri Nov 15 10:21:02 2019 +0000

    minor adjust
---
 docs/cn/server.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/cn/server.md b/docs/cn/server.md
index 9f51987..e0172da 100644
--- a/docs/cn/server.md
+++ b/docs/cn/server.md
@@ -350,7 +350,7 @@ server端会自动尝试其支持的协议,无需用户指定。`cntl->protoco
 * 大部分fork会紧接exec,浪费了重建
 * 给代码编写带来很多的麻烦和复杂度
 
-brpc的策略是按需创建这类线程,同时fork without 
exec必须发生在所有可能创建这些线程的代码前。具体地说,至少**发生在初始化所有Server/Channel/应用代码前**,越早越好,不遵守这个约定的fork会导致程序不正常。另外,不支持fork
 without exec的lib相当普遍,最好还是避免这种用法。
+brpc的策略是按需创建这类线程,同时fork without 
exec必须发生在所有可能创建这些线程的代码前。具体地说,至少**发生在初始化所有Server/Channel/应用代码前**,越早越好,不遵守这个约定的fork会导致程序不正常。另外,不支持fork
 without exec的lib相当普遍,最好避免这种用法。
 
 # 设置
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to