FS-10167: Small fix, made state volatile in session and connection to prevent odd behaviour by the GCC compiler under linux
This commit is contained in:
parent
2c996b592f
commit
21f5635037
|
@ -42,7 +42,7 @@ struct blade_connection_s {
|
|||
|
||||
blade_connection_direction_t direction;
|
||||
ks_thread_t *state_thread;
|
||||
blade_connection_state_t state;
|
||||
volatile blade_connection_state_t state;
|
||||
|
||||
const char *id;
|
||||
ks_rwl_t *lock;
|
||||
|
|
|
@ -37,7 +37,7 @@ struct blade_session_s {
|
|||
blade_handle_t *handle;
|
||||
ks_pool_t *pool;
|
||||
|
||||
blade_session_state_t state;
|
||||
volatile blade_session_state_t state;
|
||||
|
||||
const char *id;
|
||||
ks_rwl_t *lock;
|
||||
|
|
Loading…
Reference in New Issue