adapt to new list interface
This commit is contained in:
@ -28,9 +28,7 @@ private:
|
||||
|
||||
public:
|
||||
// Konstruktor: Initialisieren des Semaphorzaehlers
|
||||
Semaphore(int c) : counter(c) {
|
||||
waitQueue.init();
|
||||
}
|
||||
Semaphore(int c) : counter(c) {}
|
||||
|
||||
// 'Passieren': Warten auf das Freiwerden eines kritischen Abschnitts.
|
||||
void p();
|
||||
|
||||
Reference in New Issue
Block a user