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

📄 thread_lists.h

📁 多线程库
💻 H
字号:
#ifndef __THREADS_LISTS_H#define __THREADS_LISTS_H#include <thread_list.h>class pthread;//// the program needs two lists, one for each thread that is// active.  And another for each thread requesting a wakeup// on thread reset signal.//class thread_list : public list<pthread *> {public:  typedef list<pthread *>::iterator iterator;  thread_list() { };  ~thread_list() { };  iterator locate(int);  void remove(int);  void restart(int);  void suspend(int);  pthread *self();  static thread_list __waiting_s;  static thread_list __threads;};#endif /* __THREADS_LISTS_H */

⌨️ 快捷键说明

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