一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
Performance Constraints
Collaboration diagram for Performance Constraints:

Macros

#define ein_allocating
 Declares a function potentially allocates heap memory. Prevents inference of nonallocating.
 
#define ein_blocking
 Declares a function potentially blocks. Prevents inference of ein_nonblocking.
 
#define ein_nonblocking
 Declares a function does not block.
 
#define ein_noblock(__x)
 a bool parameterized version of ein_nonblocking
 
#define ein_nonallocating
 Declares a function does not allocate heap memory.
 
#define ein_noalloc(__x)
 a bool parameterized version of ein_nonallocating
 

Detailed Description

Note

ein_noalloc(x) and ein_noblock(x) are necessitated by the inability to write a macro that merely may take an argument.

Macro Definition Documentation

◆ ein_allocating

#define ein_allocating

Declares a function potentially allocates heap memory. Prevents inference of nonallocating.

Definition at line 88 of file performance_constraints.hpp.

◆ ein_blocking

#define ein_blocking

Declares a function potentially blocks. Prevents inference of ein_nonblocking.

Definition at line 86 of file performance_constraints.hpp.

◆ ein_noalloc

#define ein_noalloc ( __x)

a bool parameterized version of ein_nonallocating

Definition at line 89 of file performance_constraints.hpp.

◆ ein_noblock

#define ein_noblock ( __x)

a bool parameterized version of ein_nonblocking

Definition at line 90 of file performance_constraints.hpp.

◆ ein_nonallocating

#define ein_nonallocating

Declares a function does not allocate heap memory.

Definition at line 87 of file performance_constraints.hpp.

◆ ein_nonblocking

#define ein_nonblocking

Declares a function does not block.

Definition at line 85 of file performance_constraints.hpp.