OOStuBS - Technische Informatik II (TI-II)
2.4
Hauptseite
Zusätzliche Informationen
Klassen
Dateien
Auflistung der Dateien
Datei-Elemente
src
thread
waitingroom.cc
gehe zur Dokumentation dieser Datei
1
#include "
thread/waitingroom.h
"
2
3
#include "
object/lock.h
"
4
#include "
locking/scopedLock.h
"
5
#include "
object/scheduler.h
"
6
7
Waitingroom::~Waitingroom
(){
8
ScopedLock
scopedLock(
lock
);
9
while
(!
empty
())
10
scheduler
.
wakeup
(*static_cast<Customer*>(
pop_front
()));
11
}
Erzeugt am Mon Jun 30 2014 07:13:28 für OOStuBS - Technische Informatik II (TI-II) von
1.8.1.2