Re: [boost] boost] [asio] intergrate with message loop how to

13 May
2014
13 May
'14
7:42 a.m.
2014-05-09 20:08 GMT+08:00 Nat Goodspeed <nat@lindenlab.com>:
some thing like io_service::wait_events(); but , does not dispatch the event. I can run seperated thread to call this, then post message to gui thread, let gui thread run io_service::poll() to dispatch the handlers; if the hander is executed in gui thread, we can avoid lots of synchronization code between gui thread and asio thread( if io_service::run() has to be run in seperated thread. ).
4058
Age (days ago)
4058
Last active (days ago)
0 comments
1 participants
participants (1)
-
microcai