提交 8f5b3f48 编写于 作者: Z zhihaop

fix: remove the volatile key word on variables

上级 0d54c5a3
...@@ -56,7 +56,7 @@ typedef struct SAsyncBatchWriteDispatcher { ...@@ -56,7 +56,7 @@ typedef struct SAsyncBatchWriteDispatcher {
int32_t bufferSize; int32_t bufferSize;
// whether the dispatcher is shutdown. // whether the dispatcher is shutdown.
volatile bool shutdown; bool shutdown;
SSqlObj* buffer[]; SSqlObj* buffer[];
} SAsyncBatchWriteDispatcher; } SAsyncBatchWriteDispatcher;
...@@ -106,7 +106,7 @@ typedef struct SDispatcherTimeoutManager { ...@@ -106,7 +106,7 @@ typedef struct SDispatcherTimeoutManager {
int32_t timeoutMs; int32_t timeoutMs;
// whether the timeout manager is shutdown. // whether the timeout manager is shutdown.
volatile bool shutdown; bool shutdown;
} SDispatcherTimeoutManager; } SDispatcherTimeoutManager;
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册