Seastar
High performance C++ framework for concurrent servers
|
Facility to tie a timeout with an abort source Can be used to make abortanle fibers also support timeouts
#include <seastar/core/abort_on_expiry.hh>
Public Types | |
using | clock = Clock |
using | time_point = typename Clock::time_point |
Public Member Functions | |
abort_on_expiry (time_point timeout) | |
abort_on_expiry (abort_on_expiry &&)=delete | |
seastar::abort_source & | abort_source () |
|
inline |
Creates a timer and an abort source associated with it When the timer reaches timeout point it triggers an abort autimatically
|
inline |