Re: [asio-users] Boost ASIO TCP send starts to fail without calling completion handler
Brought to you by:
chris_kohlhoff
From: Igor R <boo...@gm...> - 2010-12-20 23:41:37
|
> What is the InterlockedCompareExchange testing and why is it failing? http://msdn.microsoft.com/en-us/library/ms683560(v=vs.85).aspx It doesn't fail, it just detects that op->ready_ was zero, and sets it to 1. Usually if asio stops calling completion handlers, it means that you've got some troubles with io_service::run() -- i.e either it has exited or you perform some blocking operation in a handler. Of course, maybe you really found a bug in asio, but it's worth double-checking the above points first. |