13 #ifndef __PROCESS_TIMEOUT_HPP__ 14 #define __PROCESS_TIMEOUT_HPP__ 59 timeout = that.timeout;
73 return timeout == that.timeout;
78 return timeout < that.timeout;
83 return timeout <= that.timeout;
111 #endif // __PROCESS_TIMEOUT_HPP__ static Timeout in(const Duration &duration)
Definition: timeout.hpp:35
Provides timers.
Definition: clock.hpp:37
Timeout & operator=(const Duration &duration)
Definition: timeout.hpp:65
bool operator==(const Timeout &that) const
Definition: timeout.hpp:71
Definition: duration.hpp:32
bool operator<(const Timeout &that) const
Definition: timeout.hpp:76
Time time() const
Definition: timeout.hpp:87
bool operator<=(const Timeout &that) const
Definition: timeout.hpp:81
Timeout(const Timeout &that)
Definition: timeout.hpp:31
Timeout & operator=(const Timeout &that)
Definition: timeout.hpp:56
Timeout()
Definition: timeout.hpp:27
static constexpr Duration zero()
Definition: duration.hpp:136
Definition: timeout.hpp:24
Definition: executor.hpp:48
static Time max()
Definition: time.hpp:88
static Time now()
The current clock time for either the current process that makes this call or the global clock time i...
Duration duration() const
Definition: time.hpp:36
Timeout(const Time &time)
Definition: timeout.hpp:29
static constexpr Duration min()
Definition: duration.hpp:435
static constexpr Duration max()
Definition: duration.hpp:429
bool expired() const
Definition: timeout.hpp:100
Duration remaining() const
Definition: timeout.hpp:93
static Time epoch()
Definition: time.hpp:87