Timeout queue to be used in l4re server loop.
More...
Timeout queue to be used in l4re server loop.
Definition at line 64 of file ipc_timeout_queue.
◆ add()
Add a timeout to the queue.
- Parameters
-
timeout | timeout object to add |
time | the time when the timeout expires |
- Precondition
- timeout must not be in any queue already
Definition at line 120 of file ipc_timeout_queue.
◆ handle_expired_timeouts()
◆ next_timeout()
Get the time for the next timeout.
- Returns
- the time for the next timeout or 0 if there is none
Definition at line 74 of file ipc_timeout_queue.
◆ remove()
void L4::Ipc_svr::Timeout_queue::remove |
( |
Timeout * |
timeout | ) |
|
|
inline |
◆ timeout_expired()
Determine if a timeout has happened.
- Parameters
-
- Return values
-
true | There is at least one expired timeout in the queue. false No expired timeout in the queue. |
Definition at line 90 of file ipc_timeout_queue.
The documentation for this class was generated from the following file: