This header file is part of the ALib C++ Library. It does not belong to an ALib Module and is included in any ALib Distribution.
© 2013-2024 A-Worx GmbH, Germany. Published under Boost Software License.
Definition in file owner.hpp.
Go to the source code of this file.
Classes | |
class | Owner< TOwnable > |
class | OwnerRecursive< TOwnable > |
class | OwnerShared< TOwnable > |
class | OwnerSharedTimed< TOwnable > |
class | OwnerTimed< TOwnable > |
class | OwnerTry< TOwnable > |
class | OwnerTryShared< TOwnable > |
Namespaces | |
namespace | alib |
namespace | alib::lang |
Macros | |
Macros for Resource Locking and Recursive Programming | |
#define | ALIB_DBG_PREVENT_RECURSIVE_METHOD_CALLS |
#define | ALIB_DBG_PREVENT_RECURSIVE_METHOD_CALLS_MEMBER_DECL bool dbgRecursionDetectionFlag = false; |
#define | ALIB_OWN( ownable) |
#define | ALIB_OWN_RECURSIVE(ownable) |
#define | ALIB_OWN_SHARED( ownable) |
ALib Module Threads | |
While macros in this section logically belong to module ALib Threads, they are available (but empty) also when this module is not included in the ALib Distribution. An explanation to this is given with chapter 1.2 Threading-Agnostic Software of this module's Programmer's Manual. Their definition depends on the setting of ALIB_DEBUG_CRITICAL_SECTIONS, which defaults to If the symbol is not set, all the symbols in this section are empty. | |
#define | ALIB_LOCK ALIB_OWN(*this) |
#define | ALIB_LOCK_RECURSIVE ALIB_OWN_RECURSIVE(*this) |
#define | ALIB_LOCK_RECURSIVE_WITH(lock) |
#define | ALIB_LOCK_SHARED ALIB_OWN_SHARED(*this) |
#define | ALIB_LOCK_SHARED_WITH(lock) |
#define | ALIB_LOCK_WITH(lock) |