- } catch (xbt_ex& e) {
-
- // If the exception was a timeout, we have to take the lock again:
- if (e.category == timeout_error) {
- try {
- lock.mutex()->lock();
- return std::cv_status::timeout;
- } catch (...) {
- std::terminate();
- }
- }
-
- // Another exception: should we reaquire the lock?
- std::terminate();
- } catch (...) {
- std::terminate();