UtilsLite
Utilities for C++ programming
Loading...
Searching...
No Matches
ThreadUtils.hxx File Reference
#include <functional>
#include <iostream>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  Utils::SpinLock
 
class  Utils::SpinLock_barrier
 
class  Utils::Barrier
 
class  Utils::SimpleSemaphore
 
class  Utils::WorkerLoop
 
class  Utils::WaitWorker
 
class  Utils::BinarySearch< DATA >
 
class  Utils::at_scope_exit_impl< Destructor >
 

Namespaces

namespace  Utils
 

Macros

#define UTILS_SEMAPHORE   Utils::SimpleSemaphore
 
#define UTILS_MUTEX   std::mutex
 
#define UTILS_SPINLOCK   Utils::SpinLock
 
#define UTILS_BARRIER   Utils::Barrier
 

Functions

template<class Function>
auto Utils::at_scope_exit (Function &&fun) -> at_scope_exit_impl< Function >
 
template<class Function>
auto Utils::at_scope_exit (Function const &fun) -> at_scope_exit_impl< Function const & >