ThreadSchedule 3.0.0
Modern C++ thread management library
Loading...
Searching...
No Matches
time.hpp File Reference
#include "../expected.hpp"
#include <chrono>
#include <cmath>
#include <limits>
#include <system_error>
#include <type_traits>
Include dependency graph for time.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  threadschedule
 
namespace  threadschedule::detail
 Aggregates multiple thread_registry_backend instances into a single queryable view.
 

Functions

template<typename ToDuration , typename Rep , typename Period >
auto threadschedule::detail::checked_duration_cast (std::chrono::duration< Rep, Period > value) -> expected< ToDuration, std::error_code >
 
template<typename Clock , typename Duration >
auto threadschedule::detail::checked_deadline_after (std::chrono::time_point< Clock, Duration > now, Duration delay) -> expected< std::chrono::time_point< Clock, Duration >, std::error_code >