mv to Common folder

This commit is contained in:
xiongziliang
2017-05-02 17:08:57 +08:00
parent f178bfede3
commit 7d73f44c73
3 changed files with 0 additions and 0 deletions

25
src/Common/MediaSender.h Normal file
View File

@@ -0,0 +1,25 @@
/*
* MediaSender.h
*
* Created on: 2016年9月1日
* Author: xzl
*/
#ifndef SRC_MEDIASENDER_H_
#define SRC_MEDIASENDER_H_
#include "Thread/ThreadPool.h"
using namespace ZL::Thread;
class MediaSender {
public:
static ThreadPool & sendThread() {
static ThreadPool pool(1);
return pool;
}
private:
MediaSender();
virtual ~MediaSender();
};
#endif /* SRC_MEDIASENDER_H_ */