pcb.h

来自「ACE自适配通信环境(ADAPTIVE Communication Enviro」· C头文件 代码 · 共 30 行

H
30
字号
/* -*- C++ -*- */// PCB.h,v 1.3 2005/04/23 05:52:26 ossama Exp#if !defined(PCB_H)#define PCB_H// Listing 1 code/ch20class PCB{public:  PCB ();  virtual ~PCB ();  // Set/get the timer id that is being handled by this instance.  void setID (long timerID);  long getID (void) const;  // Handle a timeout event, cancel, and close.  virtual int handleEvent (const void *arg);  virtual int handleCancel (void);  virtual int handleClose (void); private:  long timerID_;  int count_;};// Listing 1#endif /*PCB_H*/

⌨️ 快捷键说明

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