BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Namespaces | Macros | Functions
spin_yield_lock.cpp File Reference
#include <fc/thread/spin_yield_lock.hpp>
#include <fc/time.hpp>
#include <boost/atomic.hpp>
#include <boost/memory_order.hpp>
#include <new>

Go to the source code of this file.

Namespaces

 fc
 

Macros

#define define_self   boost::atomic<int>* self = (boost::atomic<int>*)&_lock
 

Functions

void fc::yield ()
 

Macro Definition Documentation

#define define_self   boost::atomic<int>* self = (boost::atomic<int>*)&_lock

Definition at line 10 of file spin_yield_lock.cpp.