|
Boost Users : |
Subject: Re: [Boost-users] [Asio] Crash on service delete
From: Indrek Sünter (indreksnt_at_[hidden])
Date: 2011-07-01 14:09:10
Strange, because I can run it on any other thread except for the one that
the socket was constructed with.
With the socket thread, it always crashes at the deletion of io_service.
With any other thread, it works well.
Also, this problem only seems to appear on Windows 7 (64bit, boost 1.46.1)
and not on Ubuntu 11.04 (64bit, boost 1.42.0).
Need to check it on some other versions and platforms. Might be that I'm
doing something that's not portable.
On Fri, Jul 1, 2011 at 6:54 PM, Igor R <boost.lists_at_[hidden]> wrote:
> > It seems that async_connect should not be called from the same service or
> thread that the socket is working on.
> > I wonder if this is correct or I have made a mistake somewhere that
> causes such behavior.
>
> No, this's not correct.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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