| 104 | } |
| 105 | |
| 106 | void setSharedError(bool sharedError) { |
| 107 | pthread_mutex_lock(&this->mutexErrorMessage); |
| 108 | if (this->sharedException == NULL) { |
| 109 | this->sharedException = std::current_exception(); |
| 110 | } |
| 111 | this->sharedError = sharedError; |
| 112 | pthread_mutex_unlock(&this->mutexErrorMessage); |
| 113 | } |
| 114 | |
| 115 | template <typename E> |
| 116 | void setSharedError(bool sharedError, const E& e) { |
no test coverage detected