This is a simple implementation of Promises and Futures in C++ implemented using the Active Object Concurrent Design Pattern and Object Pool Design Pattern.
Useful references-
active object implementation - https://github.com/KjellKod/active-object/tree/master/active-object_c%2B%2B11/src
wiki reference - https://en.wikipedia.org/wiki/Active_object