1 Star 0 Fork 2

anonymous / rtsp

forked from 飞猪饭饭 / rtsp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
r_thread.h 409 Bytes
一键复制 编辑 原始数据 按行查看 历史
greenjim301 提交于 2017-10-02 12:07 . first commit
#ifndef __R_THREAD_H__
#define __R_THREAD_H__
#include <process.h>
#include <synchapi.h>
class r_thread
{
public:
r_thread();
virtual ~r_thread();
virtual int WaitStop();
virtual int Run() = 0;
int Start();
void RLock();
void RUnlock();
inline void SetExitFlag(){m_exit_flag = 1;}
private:
HANDLE m_handle;
HANDLE m_mutex;
protected:
int m_exit_flag;
};
#endif
1
https://gitee.com/jibamao/rtsp.git
git@gitee.com:jibamao/rtsp.git
jibamao
rtsp
rtsp
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891