conn.send(reply);
}
}
+ catch (const boost::thread_interrupted&)
+ {
+ throw;
+ }
catch (const DBus::MarshallingException& e)
{
DBus::MessageError reply(msg, "error.dbus.marshalling", DBUS_ERROR_FAILED);
}
catch (...)
{
+ y2err("caught unknown exception");
DBus::MessageError reply(msg, "error.something", DBUS_ERROR_FAILED);
conn.send(reply);
}
}
catch (const boost::thread_interrupted&)
{
+ y2mil("worker interrupted");
}
}
#include <errno.h>
#include <vector>
#include <algorithm>
+#include <boost/thread.hpp>
#include "snapper/Log.h"
#include "snapper/AppUtil.h"
while (first1 != last1 || first2 != last2)
{
+ boost::this_thread::interruption_point();
+
if (first1 == last1)
{
if (first2->stat.st_dev == cmp_data.dev2)