Soletta™ Framework
|
Structure containing the flags for safely freeing a larger structure. More...
#include <sol-reentrant.h>
Data Fields | |
bool | delete_me |
Structure is stale and should be freed as soon as possible. More... | |
bool | in_use |
Structure is in use. More... | |
Structure containing the flags for safely freeing a larger structure.
This structure is meant to be used inside larger structures which are affected by calls to external callbacks that in turn end up calling library APIs. The possibility of a double free is particularly likely in such cases.
bool sol_reentrant::delete_me |
Structure is stale and should be freed as soon as possible.
Referenced by _inform_user(), my_stream_api_close(), and my_stream_api_feed().
bool sol_reentrant::in_use |
Structure is in use.