提交 5b6bb319 编写于 作者: Y YuQing

fast_task_queue.h: change nio_stage field

上级 56a5ac4f
Version 1.44 2020-10-10 Version 1.44 2020-10-19
* 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
......
...@@ -83,7 +83,10 @@ struct fast_task_info ...@@ -83,7 +83,10 @@ struct fast_task_info
int length; //data length int length; //data length
int offset; //current offset int offset; //current offset
uint16_t port; //peer port uint16_t port; //peer port
volatile short nio_stage; //stage for network IO struct {
uint8_t current;
uint8_t notify;
} 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
int network_timeout; int network_timeout;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册