提交 0cac0130 编写于 作者: X xionglei6

modify: bind cpu core

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 b1011d5c
......@@ -175,7 +175,6 @@ Service *AddService(const char *name)
node->data.service = service;
service->name = node->name;
service->status = SERVICE_IDLE;
CPU_ZERO(&service->cpuSet);
g_serviceSpace.serviceCount++;
INIT_LOGV("AddService %s", node->name);
return service;
......
......@@ -17,6 +17,11 @@
static const pid_t INIT_PROCESS_PID = 1;
int __attribute__((weak)) AtlibInit(void)
{
return 0;
}
int main(int argc, char * const argv[])
{
int isSecondStage = 0;
......@@ -35,6 +40,7 @@ int main(int argc, char * const argv[])
LogInit();
}
LogInit();
(void)AtlibInit();
SystemInit();
SystemExecuteRcs();
SystemConfig();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册