$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Boost ASIO cancelling jobs from another thread
From: Mark Christiaens (christim_at_[hidden])
Date: 2012-03-21 13:03:26
We are developing a client-server application using Boost ASIO for
asynchronous socket communication. We were wondering whether it is safe to
cancel a read on a socket by closing the socket from another thread
(without any additional synchronization)? What would be the preferred way
to cancel operations from different threads?
Thanks in advance,
Mark Christiaens
Amplidata