markdown使用测试

区块引用:

  • 源:

```
//端口号、CPU数读取,工作线程数计算
string strSvrPort;
g_config.Get("svr_port", strSvrPort);
int nSvrPort = atoi(strSvrPort.c_str());
int cpucnt = get_cpu_count();
int worker_cnt = cpucnt * 32;
if(worker_cnt < 4)
worker_cnt = 4;

if(worker_cnt > 64)
worker_cnt = 64;
```

  • 显示效果 :
//端口号、CPU数读取,工作线程数计算
string strSvrPort;
g_config.Get("svr_port", strSvrPort);
int nSvrPort = atoi(strSvrPort.c_str());
int cpucnt = get_cpu_count();
int worker_cnt = cpucnt * 32;
if(worker_cnt < 4)
    worker_cnt = 4;

if(worker_cnt > 64)
    worker_cnt = 64;

你可能感兴趣的:(markdown使用测试)