1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-28 20:02:00 +03:00

Renamed unit test doubles

This commit is contained in:
Teemu Ollakka
2018-06-13 11:23:48 +03:00
parent 265d9b3322
commit 461247adc1
13 changed files with 127 additions and 116 deletions

View File

@ -43,10 +43,7 @@ namespace wsrep
}
~default_mutex()
{
if (pthread_mutex_destroy(&mutex_))
{
throw wsrep::runtime_error("mutex destroy failed");
}
if (pthread_mutex_destroy(&mutex_)) ::abort();
}
void lock()

View File

@ -124,7 +124,7 @@ namespace wsrep
return flags_;
}
wsrep::mutex& mutex();
// wsrep::mutex& mutex();
wsrep::ws_handle& ws_handle() { return ws_handle_; }
const wsrep::ws_handle& ws_handle() const { return ws_handle_; }
const wsrep::ws_meta& ws_meta() const { return ws_meta_; }