BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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_self

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

Definition at line 10 of file spin_yield_lock.cpp.