uvcc
libuv C++ bindings
uv::spinlock Class Reference

A simple spinlock mutex built around std::atomic_flag. More...

#include "utility.hpp"

Public Member Functions

 spinlock (const spinlock &)=delete
 
spinlockoperator= (const spinlock &)=delete
 
 spinlock (spinlock &&)=delete
 
spinlockoperator= (spinlock &&)=delete
 
void lock (std::memory_order _o=std::memory_order_acquire) noexcept
 
void unlock (std::memory_order _o=std::memory_order_release) noexcept
 

Detailed Description

A simple spinlock mutex built around std::atomic_flag.

Definition at line 304 of file utility.hpp.


The documentation for this class was generated from the following file: