Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik
Waitingroom Class Reference

List of threads waiting for an event. More...

#include <sync/waitingroom.h>

+ Inheritance diagram for Waitingroom:
+ Collaboration diagram for Waitingroom:

Public Member Functions

virtual ~Waitingroom ()
 Destructor. More...
 
virtual void remove (Thread *customer)
 Remove a given thread prematurely from the Waitingroom. More...
 
- Public Member Functions inherited from Queue< Thread >

Detailed Description

List of threads waiting for an event.

The class Waitingroom implements a list of threads that all wait for one particular event.

The destructor should be virtual to properly cleanup derived classes.

Constructor & Destructor Documentation

◆ ~Waitingroom()

Waitingroom::~Waitingroom ( )
virtual

Destructor.

The destructor removes and awakes all remaining threads.

Member Function Documentation

◆ remove()

void Waitingroom::remove ( Thread customer)
virtual

Remove a given thread prematurely from the Waitingroom.


The documentation for this class was generated from the following files: