Seastar
High performance C++ framework for concurrent servers
Namespaces | Typedefs | Enumerations | Functions
idle_cpu_handler.hh File Reference
#include <seastar/util/noncopyable_function.hh>
#include <seastar/util/modules.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 class  seastar::idle_cpu_handler_result { seastar::no_more_work , seastar::interrupted_by_higher_priority_task }
 

Functions

void seastar::set_idle_cpu_handler (idle_cpu_handler &&handler)