Boost logo

Boost Users :

Subject: Re: [Boost-users] Asio
From: Cory Nelson (phrosty_at_[hidden])
Date: 2008-12-03 00:07:33


On Wed, Dec 3, 2008 at 3:23 PM, Cain <darkdemun_at_[hidden]> wrote:
>
> Hi, I'm making a program that has a GUI and i was planning on using Asio
> because of it's SSL support, i thought it was just simple callback structure
> etc but then i got told that io_service::run() blocks? i understand that
> would be fine in server applications but in this case the GUI would block.
> How would any of you use asio in my situation?
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

I would run asio in another thread, and have it post messages to the GUI thread.

-- 
Cory Nelson

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net