Re:Wangle – an asynchronous C++ networking and RPC library
by jhartmann on Wednesday April 20, 2016 @01:32PM
(#11536121)
The wangle native way of doing this is just to use an IOThreadPoolExecutor: https://github.com/facebook/wangle/blob/master/wangle/concur...
Just make a block of threads to run your db tasks, and you can use a promise/future to return the results back to the async code.
[ Parent
| on HN ]
There are no comments on this comment yet.