#include <timeout.h>
Inheritance diagram for Timeout:

Public Member Functions | |
| Timeout () | |
| Timeout constructor. | |
| void | reset () |
| bool | is_set () |
| Check if timeout is set. | |
| bool | has_hit () |
| Check if timeout has hit. | |
| void | set (Unsigned64 clock) |
| void | set_again () |
| Signed64 | get_timeout () |
| Return remaining time of timeout. | |
Static Public Member Functions | |
| static bool | do_timeouts () |
| static Timeout * | get_first_timeout () |
Protected Attributes | |
| Unsigned64 | _wakeup |
| Absolute system time we want to be woken up at. | |
Private Member Functions | |
| Timeout (const Timeout &) | |
| Default copy constructor (is undefined). | |
| void | enqueue () |
| Enqueue a new timeout. | |
| bool | dequeue () |
| Dequeue an expired timeout. | |
| virtual bool | expired ()=0 |
Private Attributes | |
| Timeout * | _next |
| Next/Previous Timeout in timer list. | |
| Timeout * | _prev |
| Next/Previous Timeout in timer list. | |
| struct { | |
| bool set: 1 | |
| bool hit: 1 | |
| unsigned res: 6 | |
| } | _flags |
Static Private Attributes | |
| static Timeout * | first_timeout = 0 |
Friends | |
| class | Jdb_timeout_list |
| class | Jdb_list_timeouts |
|
|
Timeout constructor.
|
|
|
Default copy constructor (is undefined).
|
|
|
Dequeue an expired timeout.
|
|
|
|
|
|
Enqueue a new timeout.
|
|
|
Implemented in Deadline_timeout, IPC_timeout, and Timeslice_timeout. |
|
|
|
|
|
Return remaining time of timeout.
|
|
|
Check if timeout has hit.
|
|
|
Check if timeout is set.
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in Deadline_timeout, and IPC_timeout. |
|
|
|
|
|
|
|
|
Next/Previous Timeout in timer list.
|
|
|
Next/Previous Timeout in timer list.
|
|
|
Absolute system time we want to be woken up at.
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2