Boost logo

Boost Users :

Subject: [Boost-users] [asio] synchronous mode, timeouts and boost::thread
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2008-11-04 04:13:29

Hello *,

asio (at least in boost release 1.35) does not support timeouts on
synchronous socket operations. What happens if I start a sync read operation
from a separate boost thread and interrupt the thread after some certain
period of time? This worked fine with gcc 4.3 on a 32 bit Gentoo Linux, but
I would like to know if this is a bad style to make so.

I understand that a thread must be in one of the interruptable states.

Many thanks,
Ovanes Markarian

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at