May 18th, 2013, 02:37 PM
Boost library thread callbacks
I am looking for advise on how to accomplish something using boost thread algorithms.
We have tried many different things (binding) to try to get the callback to be called from the main thread…but all attempts fail. I have thought about solutions for windows that may work by utilizing PostThreadMessage, but we really want a solution that will work on all operating systems.
I have seen a lot about boost::asio, but I cannot figure out how to implement this in a DLL in an asynchronous manner.
Does anybody have any suggestions?
Click Here to Expand Forum to Full Width