Seastar
High performance C++ framework for concurrent servers
Namespaces | Typedefs | Enumerations | Functions
idle_cpu_handler.hh File Reference
#include <seastar/util/noncopyable_function.hh>

Go to the source code of this file.

Namespaces

 seastar
 Seastar API namespace.
 

Typedefs

using seastar::work_waiting_on_reactor = const noncopyable_function< bool()> &
 
using seastar::idle_cpu_handler = noncopyable_function< idle_cpu_handler_result(work_waiting_on_reactor poll)>
 

Enumerations

enum  seastar::idle_cpu_handler_result { seastar::idle_cpu_handler_result::no_more_work, seastar::idle_cpu_handler_result::interrupted_by_higher_priority_task }
 

Functions

void seastar::set_idle_cpu_handler (idle_cpu_handler &&handler)