NCBI C++ ToolKit
Classes | Macros | Functions | Variables
ncbi_pool_balancer.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbi_pool_balancer.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <corelib/ncbierror.hpp>
#include <corelib/error_codes.hpp>
#include <numeric>
#include <random>
+ Include dependency graph for ncbi_pool_balancer.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CRandomGuard
 

Macros

#define NCBI_USE_ERRCODE_X   Corelib_Balancer
 

Functions

 DEFINE_STATIC_FAST_MUTEX (s_RandomMutex)
 

Variables

static CSafeStatic< default_random_engine > s_RandomEngine
 
static bool s_RandomnessSeeded
 

Macro Definition Documentation

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Corelib_Balancer

Definition at line 44 of file ncbi_pool_balancer.cpp.

Function Documentation

◆ DEFINE_STATIC_FAST_MUTEX()

DEFINE_STATIC_FAST_MUTEX ( s_RandomMutex  )

Variable Documentation

◆ s_RandomEngine

CSafeStatic<default_random_engine> s_RandomEngine
static

◆ s_RandomnessSeeded

bool s_RandomnessSeeded
static

Definition at line 50 of file ncbi_pool_balancer.cpp.

Referenced by CRandomGuard::CRandomGuard().

Modified on Sat Jun 22 10:43:33 2024 by modify_doxy.py rev. 669887