customer.h.svn-base
来自「德国Erlangen大学教学操作系统源码。」· SVN-BASE 代码 · 共 34 行
SVN-BASE
34 行
/*****************************************************************************//* Betriebssysteme *//*---------------------------------------------------------------------------*//* *//* C U S T O M E R *//* *//*---------------------------------------------------------------------------*//* Ein Thread, der auf ein Ereignis warten kann. *//*****************************************************************************/#ifndef __customer_include__#define __customer_include__#include "thread/entrant.h"#include "meeting/waitingroom.h"#define NULL 0class Waitingroom;class Customer: public Entrant {protected: Waitingroom *wr;public: Customer() { wr= NULL;} Customer(void *tos): Entrant(tos) { wr= NULL; } ~Customer() { } void waiting_in(Waitingroom *wroom) { wr= wroom; } Waitingroom *waiting_in() { return wr; }};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?