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

◆ ASSERT_TASK_NOT_PREEMPTED

#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.

◆ FC_NON_PREEMPTABLE_SCOPE_COMBINE

#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.

◆ FC_NON_PREEMPTABLE_SCOPE_COMBINE_HELPER

#define FC_NON_PREEMPTABLE_SCOPE_COMBINE_HELPER (   x,
 
)    x ## y

Definition at line 17 of file non_preemptable_scope_check.hpp.