$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Matthias Vallentin (vallentin_at_[hidden])
Date: 2008-06-17 05:13:39
Hi folks,
I am having issues with boost::thread::interrupt(). As far as I
understood, calling this function will throw an exception in the
corresponding thread. How can deal with blocking functions, such as a
calls to accept() or when a thread is waiting on a condition variable
to change? Basically the thread blocks somewhere in a while (true) loop.
Injecting interruption points manually with
boost::this_thread::interruption_point() does not seem to help here
either. boost::thread::interrupt() (or interrupt_all in a thread_group),
simply does not return.
Regards,
Matthias
-- Matthias Vallentin vallentin_at_[hidden] pgp/gpg: 0x37F34C16