Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Classes | Namespaces | Typedefs | Functions | Variables
alien.hh File Reference
#include <atomic>
#include <concepts>
#include <future>
#include <memory>
#include <type_traits>
#include <boost/lockfree/queue.hpp>
#include <seastar/core/future.hh>
#include <seastar/core/cacheline.hh>
#include <seastar/core/sstring.hh>
#include <seastar/core/metrics_registration.hh>
#include <seastar/util/modules.hh>

Go to the source code of this file.

Classes

class  seastar::alien::message_queue
 
struct  seastar::alien::internal::qs_deleter
 
class  seastar::alien::instance
 
struct  seastar::alien::internal::return_type_of< Func, bool >
 
struct  seastar::alien::internal::return_type_of< Func, false >
 

Namespaces

namespace  seastar
 Seastar API namespace.
 
namespace  seastar::alien
 Integration with non-seastar applications.
 

Typedefs

template<typename Func >
using seastar::alien::internal::return_value_t = typename futurize< std::invoke_result_t< Func > >::value_type
 
template<typename Func >
using seastar::alien::internal::return_type_t = typename return_type_of< Func >::type
 

Functions

template<typename Func >
requires std::is_nothrow_invocable_r_v<void, Func>
void seastar::alien::run_on (instance &instance, unsigned shard, Func func)
 
template<typename Func >
void seastar::alien::run_on (unsigned shard, Func func)
 
template<std::invocable Func, typename T = internal::return_type_t<Func>>
std::future< T > seastar::alien::submit_to (instance &instance, unsigned shard, Func func)
 
template<typename Func , typename T = internal::return_type_t<Func>>
std::future< T > seastar::alien::submit_to (unsigned shard, Func func)
 

Variables

instance * seastar::alien::internal::default_instance