提交 bb33b2e0 编写于 作者: Y YuQing

notify field: add volatile modifier

上级 5b6bb319
Version 1.44 2020-10-19 Version 1.44 2020-10-21
* add test file src/tests/test_pthread_lock.c * add test file src/tests/test_pthread_lock.c
* add uniq_skiplist.[hc] * add uniq_skiplist.[hc]
* add function split_string_ex * add function split_string_ex
......
...@@ -85,7 +85,7 @@ struct fast_task_info ...@@ -85,7 +85,7 @@ struct fast_task_info
uint16_t port; //peer port uint16_t port; //peer port
struct { struct {
uint8_t current; uint8_t current;
uint8_t notify; volatile uint8_t notify;
} nio_stages; //stages for network IO } nio_stages; //stages for network IO
bool canceled; //if task canceled bool canceled; //if task canceled
int connect_timeout; //for client side int connect_timeout; //for client side
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册