MW-384 protect access to wsrep_ready variable with mutex

This commit is contained in:
Alexey Yurchenko
2017-06-19 17:23:02 +07:00
committed by Jan Lindström
parent 8da6b4ef52
commit 86d31ce9f1
8 changed files with 33 additions and 23 deletions

View File

@ -26,7 +26,7 @@
#include <pthread.h>
#include <cstdio>
void wsrep_ready_set (my_bool x);
my_bool wsrep_ready_set (my_bool x);
ssize_t wsrep_sst_prepare (void** msg);
wsrep_cb_status wsrep_sst_donate_cb (void* app_ctx,