📄 semaphore.h.svn-base
字号:
/*****************************************************************************//* Betriebssysteme *//*---------------------------------------------------------------------------*//* *//* S E M A P H O R E *//* *//*---------------------------------------------------------------------------*//* Semaphore werden zur Synchronisation von Threads verwendet. *//*****************************************************************************/#ifndef __Semaphore_include__#define __Semaphore_include__#include "meeting/waitingroom.h"class Semaphore: public Waitingroom { public: Semaphore(); Semaphore(int c); virtual ~Semaphore(); void p(); void v(); void wait(); void signal();// private: int _z;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -