
I will start use in my project today. I have tested your test project yestarday, and it works fine. I am only missing an way to get result of function, so I will just create functions which put results in a queue, and main thread will get that results. On 1/27/06, simon meiklejohn <simon@simonmeiklejohn.com> wrote:
Anyone had a play with the defer library in the vault and want to comment on its usefulness?
It clearly shares much in common with the asio Dispatcher concept but with the freedom to define more general Dispatchers. (e.g. 'Create thread per callback' and 'Dispatch Callback via Message Pump', both of which violate the specific guarantees of the asio Dispatcher concept, that the callback occur in a thread that has called asio::demuxer::run().)
One potential application for defer would be in conjunction with asio, creating the thread(s) which call demuxer::run() in a succinct form.
Cheers
Simon
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost