Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
sol-reentrant.h File Reference

Structure and macros for making structures reentrancy-proof. More...

Go to the source code of this file.

Data Structures

struct  sol_reentrant
 Structure containing the flags for safely freeing a larger structure. More...
 

Macros

#define SOL_REENTRANT_CALL(handle)
 Wraps a function call to an external callback. More...
 
#define SOL_REENTRANT_FREE(reentrant)   if (({ (reentrant).delete_me = true; !(reentrant).in_use; }))
 Conditionally free a reentrant structure. More...
 

Typedefs

typedef struct sol_reentrant sol_reentrant
 Structure containing the flags for safely freeing a larger structure. More...
 

Detailed Description

Structure and macros for making structures reentrancy-proof.