cluck 1.0.1
The cluster lock service.
Functions | Variables
cluck::anonymous_namespace{cluck.cpp} Namespace Reference

Functions

cluck::serial_t get_next_serial ()
 
ed::match_t match_command_and_tag (ed::dispatcher_match const *m, ed::message &msg)
 

Variables

timeout_t g_lock_duration_timeout = CLUCK_LOCK_DURATION_DEFAULT_TIMEOUT
 
timeout_t g_lock_obtention_timeout = CLUCK_LOCK_OBTENTION_DEFAULT_TIMEOUT
 
cppthread::mutex g_mutex = cppthread::mutex()
 
cluck::serial_t g_serial = cluck::serial_t()
 
timeout_t g_unlock_timeout = CLUCK_UNLOCK_DEFAULT_TIMEOUT
 

Function Documentation

◆ get_next_serial()

cluck::serial_t cluck::anonymous_namespace{cluck.cpp}::get_next_serial ( )

Definition at line 119 of file cluck.cpp.

References g_mutex, g_serial, and get_next_serial().

Referenced by get_next_serial().

◆ match_command_and_tag()

ed::match_t cluck::anonymous_namespace{cluck.cpp}::match_command_and_tag ( ed::dispatcher_match const *  m,
ed::message &  msg 
)

Definition at line 105 of file cluck.cpp.

References match_command_and_tag().

Referenced by match_command_and_tag().

Variable Documentation

◆ g_lock_duration_timeout

timeout_t cluck::anonymous_namespace{cluck.cpp}::g_lock_duration_timeout = CLUCK_LOCK_DURATION_DEFAULT_TIMEOUT

Definition at line 101 of file cluck.cpp.

◆ g_lock_obtention_timeout

timeout_t cluck::anonymous_namespace{cluck.cpp}::g_lock_obtention_timeout = CLUCK_LOCK_OBTENTION_DEFAULT_TIMEOUT

Definition at line 100 of file cluck.cpp.

◆ g_mutex

cppthread::mutex cluck::anonymous_namespace{cluck.cpp}::g_mutex = cppthread::mutex()

Definition at line 98 of file cluck.cpp.

Referenced by get_next_serial().

◆ g_serial

cluck::serial_t cluck::anonymous_namespace{cluck.cpp}::g_serial = cluck::serial_t()

Definition at line 99 of file cluck.cpp.

Referenced by get_next_serial().

◆ g_unlock_timeout

timeout_t cluck::anonymous_namespace{cluck.cpp}::g_unlock_timeout = CLUCK_UNLOCK_DEFAULT_TIMEOUT

Definition at line 102 of file cluck.cpp.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.