[asio] synchronous mode, timeouts and boost::thread

4 Nov
2008
4 Nov
'08
9:13 a.m.
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
5954
Age (days ago)
5954
Last active (days ago)
0 comments
1 participants
participants (1)
-
Ovanes Markarian