SObjectizer  5.8
Loading...
Searching...
No Matches
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

namespace  so_5
 Private part of message limit implementation.
 

Typedefs

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

Enumerations

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

Functions

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

Variables

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

Detailed Description

Various typedefs.

Definition in file types.hpp.