Seastar
High performance C++ framework for concurrent servers
Classes | Namespaces | Functions
sleep.hh File Reference
#include <chrono>
#include <functional>
#include "core/abort_source.hh"
#include "core/future.hh"
#include "core/lowres_clock.hh"
#include "core/reactor.hh"
#include "core/shared_ptr.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

 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 >
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 >
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 &)