BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Classes | Namespaces | Macros
non_preemptable_scope_check.hpp File Reference
#include <fc/time.hpp>
#include <fc/thread/spin_yield_lock.hpp>

Go to the source code of this file.

Classes

class  fc::non_preemptable_scope_check
 

Namespaces

 fc
 

Macros

#define FC_NON_PREEMPTABLE_SCOPE_COMBINE_HELPER(x, y)   x ## y
 
#define FC_NON_PREEMPTABLE_SCOPE_COMBINE(x, y)   FC_NON_PREEMPTABLE_SCOPE_COMBINE_HELPER(x,y)
 
#define ASSERT_TASK_NOT_PREEMPTED()   fc::non_preemptable_scope_check FC_NON_PREEMPTABLE_SCOPE_COMBINE(scope_checker_, __LINE__)
 

Macro Definition Documentation

#define ASSERT_TASK_NOT_PREEMPTED ( )    fc::non_preemptable_scope_check FC_NON_PREEMPTABLE_SCOPE_COMBINE(scope_checker_, __LINE__)

Definition at line 23 of file non_preemptable_scope_check.hpp.

#define FC_NON_PREEMPTABLE_SCOPE_COMBINE (   x,
 
)    FC_NON_PREEMPTABLE_SCOPE_COMBINE_HELPER(x,y)

Definition at line 18 of file non_preemptable_scope_check.hpp.

#define FC_NON_PREEMPTABLE_SCOPE_COMBINE_HELPER (   x,
 
)    x ## y

Definition at line 17 of file non_preemptable_scope_check.hpp.