YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
util.hpp File Reference
#include <yaclib/config.hpp>
#include <atomic>
#include <random>
Include dependency graph for util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  yaclib
 
namespace  yaclib::detail
 

Functions

void yaclib::detail::SetSeed (std::uint32_t new_seed)
 
std::uint32_t yaclib::detail::GetSeed ()
 
std::uint64_t yaclib::detail::GetRandNumber (std::uint64_t max)
 
std::uint64_t yaclib::detail::GetRandCount ()
 
void yaclib::detail::ForwardToRandCount (std::uint64_t random_count)