SObjectizer  5.7
Namespaces | Typedefs | Enumerations | Functions | Variables
types.hpp File Reference

Various typedefs. More...

#include <atomic>
#include <cstdint>
#include <so_5/version.hpp>

Go to the source code of this file.

Namespaces

 so_5
 Public part of message limit implementation.
 

Typedefs

using so_5::atomic_counter_t = std::atomic_ulong
 Atomic counter type. More...
 
using so_5::atomic_flag_t = std::atomic_ulong
 Atomic flag type. More...
 
using so_5::mbox_id_t = unsigned long long
 A type for mbox indentifier. More...
 
using so_5::coop_id_t = std::uint_fast64_t
 ID of cooperation. More...
 

Enumerations

enum  so_5::thread_safety_t : std::uint8_t { so_5::thread_safety_t::unsafe = 0, so_5::thread_safety_t::safe = 1 }
 Thread safety indicator. More...
 
enum  so_5::work_thread_activity_tracking_t { so_5::work_thread_activity_tracking_t::unspecified, so_5::work_thread_activity_tracking_t::off, so_5::work_thread_activity_tracking_t::on }
 Values for dispatcher's work thread activity tracking. More...
 
enum  so_5::message_mutability_t { so_5::message_mutability_t::immutable_message, so_5::message_mutability_t::mutable_message }
 A enum with variants of message mutability or immutability. More...
 
enum  so_5::message_kind_t { so_5::message_kind_t::signal, so_5::message_kind_t::classical_message, so_5::message_kind_t::user_type_message, so_5::message_kind_t::enveloped_msg }
 A enum with variants of message kinds. More...
 
enum  so_5::event_handler_kind_t : char { so_5::event_handler_kind_t::final_handler, so_5::event_handler_kind_t::intermediate_handler }
 Kind of an event handler. More...
 

Functions

mbox_id_t so_5::null_mbox_id ()
 Default value for null mbox_id. More...
 

Variables

const thread_safety_t so_5::not_thread_safe = thread_safety_t::unsafe
 Shorthand for thread unsafety indicator. More...
 
const thread_safety_t so_5::thread_safe = thread_safety_t::safe
 Shorthand for thread safety indicator. More...
 

Detailed Description

Various typedefs.