提交 9c1f7145 编写于 作者: S Shengliang Guan

minor changes

上级 d7e13ef7
......@@ -381,6 +381,7 @@ SProcObj *taosProcInit(const SProcCfg *pCfg) {
pProc->pid = fork();
if (pProc->pid == 0) {
pProc->isChild = 1;
prctl(PR_SET_NAME, pProc->name, NULL, NULL, NULL);
} else {
pProc->isChild = 0;
uInfo("this is parent process, child pid:%d", pProc->pid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册