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 0bb4120 Add missing **
0bb4120 is described below
commit 0bb4120adde00593223549bff0a05af5a5f3aef4
Author: Ge Jun <[email protected]>
AuthorDate: Fri Nov 15 18:25:46 2019 +0800
Add missing **
---
docs/en/server.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/en/server.md b/docs/en/server.md
index f28fd96..90fcfcc 100644
--- a/docs/en/server.md
+++ b/docs/en/server.md
@@ -353,7 +353,7 @@ Latest brpc re-creates the thread after fork(when
necessary) to make bvar work c
* most fork continues with exec, which wastes re-creations
* bring too many troubles and complexities to the code
-brpc's strategy is to create these threads on demand and fork without exec
should happen before all code that may create the threads. Specifically, **fork
without exec should happen before initializing all
Servers/Channels/Applications, earlier is better. fork not obeying this causes
the program dysfunctional. BTW, fork without exec better be avoided because
many libraries do not support it.
+brpc's strategy is to create these threads on demand and fork without exec
should happen before all code that may create the threads. Specifically, **fork
without exec should happen before initializing all
Servers/Channels/Applications, earlier is better**. fork not obeying this
causes the program dysfunctional. BTW, fork without exec better be avoided
because many libraries do not support it.
# Settings
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]