Ai
1 Star 0 Fork 0

wangcichen/urbackup_backend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
WorkerThread.h 695 Bytes
一键复制 编辑 原始数据 按行查看 历史
uroni 提交于 2011-01-07 00:43 +08:00 . Initial commit.
#include "Interface/Thread.h"
#include "Interface/Mutex.h"
#include "Interface/Condition.h"
#include "types.h"
#include "Interface/Types.h"
#include <deque>
class CClient;
class CSelectThread;
class FCGIRequest;
const _u32 WT_BUFFERSIZE=2000;
class CWorkerThread : public IThread
{
public:
CWorkerThread(CSelectThread *pMaster);
~CWorkerThread();
void operator()();
void shutdown(void);
private:
void ProcessRequest(CClient *client, FCGIRequest *req);
POSTFILE_KEY ParseMultipartData(const std::string &data, const std::string &boundary);
bool keep_alive;
bool run;
CSelectThread* Master;
IMutex* stop_mutex;
ICondition* stop_cond;
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/wangcichen/urbackup_backend.git
git@gitee.com:wangcichen/urbackup_backend.git
wangcichen
urbackup_backend
urbackup_backend
dev

搜索帮助