Boost logo

Boost Users :

From: Christian Larsen (contact_at_[hidden])
Date: 2008-08-10 12:27:58


Hello,

I'm afraid this is a frequently asked question, but my attempts at
searching have not been successful. My question is whether there is a
smarter way to reset the interruption request (if any) than this:

try
{
      boost::this_thread::interruption_point();
}
catch (boost::thread_interrupted&)
{
      // ignore
}

Which I find a little messy for what I want to achieve. I'm using
version 1.35.0.

Best regards,
Christian Larsen


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net