⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 thread.h

📁 用你的语音Modem实现像电话一样通话的程序
💻 H
字号:
#ifndef THREAD_H#define THREAD_H#include <pthread.h>class Thread{private:	static void* entrypoint(void *parameters);protected:	virtual void run() = 0;public:	Thread(int synchronous = 0, int realtime = 0);	virtual ~Thread();	void start();	end(pthread_t tid);           // end another thread	end();    // end this thread	join();   // join this thread	suspend_thread();   // suspend this thread	continue_thread();     // continue this thread	exit_thread();   // exit this thread	int synchronous;         // set to 1 to force join() to end	int realtime;            // set to 1 to schedule realtime  	pthread_t tid;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -