Http服务改成异步回复模式

This commit is contained in:
xzl
2017-04-10 17:24:06 +08:00
parent f71a32bc8c
commit e2ce16c70b
4 changed files with 83 additions and 38 deletions

View File

@@ -13,7 +13,7 @@ using namespace ZL::Thread;
class MediaSender {
public:
static ThreadPool & sendThread() {
static ThreadPool pool(1, ThreadPool::PRIORITY_HIGHEST);
static ThreadPool pool(1);
return pool;
}
private: