Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Namespaces | Functions
sleep.hh File Reference
#include <chrono>
#include <seastar/core/abort_source.hh>
#include <seastar/core/future.hh>
#include <seastar/core/lowres_clock.hh>
#include <seastar/core/manual_clock.hh>
#include <seastar/core/timer.hh>
#include <seastar/util/modules.hh>

Go to the source code of this file.

Classes

class  seastar::sleep_aborted
 exception that is thrown when application is in process of been stopped More...
 

Namespaces

namespace  seastar
 Seastar API namespace.
 

Functions

template<typename Clock = steady_clock_type, typename Rep , typename Period >
future seastar::sleep (std::chrono::duration< Rep, Period > dur)
 
template<typename Clock = steady_clock_type>
future seastar::sleep_abortable (typename Clock::duration dur)
 
template future seastar::sleep_abortable< steady_clock_type > (typename steady_clock_type::duration)
 
template future seastar::sleep_abortable< lowres_clock > (typename lowres_clock::duration)
 
template<typename Clock = steady_clock_type>
future seastar::sleep_abortable (typename Clock::duration dur, abort_source &as)
 
template future seastar::sleep_abortable< steady_clock_type > (typename steady_clock_type::duration, abort_source &)
 
template future seastar::sleep_abortable< lowres_clock > (typename lowres_clock::duration, abort_source &)
 
template future seastar::sleep_abortable< manual_clock > (typename manual_clock::duration, abort_source &)