Thread pool
Data Fields
future Struct Reference

Future that will get the value asynchronously (similar to C++ std::future). More...

#include <future.h>

Collaboration diagram for future:
Collaboration graph
[legend]

Data Fields

callable_t callable
 callable function;
 
sem_t finished
 status of the future(pending/finished);
 
void * result
 pointer to the result of the function;
 
size_t result_size
 size of the result;
 

Detailed Description

Future that will get the value asynchronously (similar to C++ std::future).


The documentation for this struct was generated from the following file: