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:
@ -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()
|
||||
|
@ -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_; }
|
||||
|
Reference in New Issue
Block a user