mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 07:23:04 +01:00
A few necessary "volatile" usage
This commit is contained in:
parent
d5562bde4e
commit
519a3b0aa7
@ -111,7 +111,6 @@ const SLONG SIG_informs_continue = 0; /* continue on signal processing */
|
||||
const SLONG SIG_informs_stop = 1; /* stop signal processing */
|
||||
|
||||
|
||||
static bool initialized_signals = false;
|
||||
static SIG volatile signals = NULL;
|
||||
static SLONG volatile overflow_count = 0;
|
||||
|
||||
|
@ -358,8 +358,8 @@ static XDR::xdr_ops inet_ops =
|
||||
|
||||
SLONG INET_remote_buffer;
|
||||
static Firebird::GlobalPtr<Firebird::Mutex> init_mutex;
|
||||
static bool INET_initialized = false;
|
||||
static bool INET_shutting_down = false;
|
||||
static volatile bool INET_initialized = false;
|
||||
static volatile bool INET_shutting_down = false;
|
||||
static slct_t INET_select = { 0, 0, 0 };
|
||||
static int INET_max_clients;
|
||||
static rem_port* inet_async_receive = NULL;
|
||||
|
@ -60,8 +60,8 @@ Firebird::AtomicCounter event_counter;
|
||||
|
||||
static Firebird::GlobalPtr<PortsCleanup> wnet_ports;
|
||||
static Firebird::GlobalPtr<Firebird::Mutex> init_mutex;
|
||||
static bool wnet_initialized = false;
|
||||
static bool wnet_shutdown = false;
|
||||
static volatile bool wnet_initialized = false;
|
||||
static volatile bool wnet_shutdown = false;
|
||||
|
||||
static bool accept_connection(rem_port*, const P_CNCT*);
|
||||
static rem_port* alloc_port(rem_port*);
|
||||
|
@ -138,8 +138,8 @@ static char xnet_endpoint[BUFFER_TINY] = "";
|
||||
|
||||
#endif // WIN_NT
|
||||
|
||||
static bool xnet_initialized = false;
|
||||
static bool xnet_shutdown = false;
|
||||
static volatile bool xnet_initialized = false;
|
||||
static volatile bool xnet_shutdown = false;
|
||||
static Firebird::GlobalPtr<Firebird::Mutex> xnet_mutex;
|
||||
static Firebird::GlobalPtr<PortsCleanup> xnet_ports;
|
||||
static ULONG xnet_next_free_map_num = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user