Searched defs:future_t (Results 1 - 2 of 2) sorted by relevance

/system/bt/osi/include/
H A Dfuture.h21 typedef struct future_t future_t; typedef in typeref:struct:future_t
26 // Constructs a new future_t object. Returns NULL on failure.
27 future_t* future_new(void);
29 // Constructs a new future_t object with an immediate |value|. No waiting will
32 future_t* future_new_immediate(void* value);
37 void future_ready(future_t* future, void* value);
41 void* future_await(future_t* async_result);
/system/bt/osi/src/
H A Dfuture.cc30 struct future_t { struct
36 static void future_free(future_t* future);
38 future_t* future_new(void) {
39 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t)));
55 future_t* future_new_immediate(void* value) {
56 future_t* ret = static_cast<future_t*>(osi_calloc(sizeof(future_t)));
[all...]

Completed in 65 milliseconds