mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
[t:4362] Make locked_mo and locked_cs volatile. Refs #4362.
git-svn-id: file:///svn/toku/tokudb@38597 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
fe693b1e55
commit
b2637ec273
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ static void (*ydb_lock)(void) = NULL;
|
|||
static void (*ydb_unlock)(void) = NULL;
|
||||
|
||||
static BOOL initialized = FALSE; // sanity check
|
||||
static BOOL locked_mo = FALSE; // true when the multi_operation write lock is held (by checkpoint)
|
||||
static BOOL locked_cs = FALSE; // true when the checkpoint_safe write lock is held (by checkpoint)
|
||||
static volatile BOOL locked_mo = FALSE; // true when the multi_operation write lock is held (by checkpoint)
|
||||
static volatile BOOL locked_cs = FALSE; // true when the checkpoint_safe write lock is held (by checkpoint)
|
||||
|
||||
|
||||
// Note following static functions are called from checkpoint internal logic only,
|
||||
|
|
Loading…
Add table
Reference in a new issue