diff --git a/HISTORY b/HISTORY index 4291d657d0ef27ba4eea5eec6b1f1d12c2ccf895..d053ac83fd9d423ba7ce9de8d58d0e4fa196a7f0 100644 --- a/HISTORY +++ b/HISTORY @@ -1,5 +1,5 @@ -Version 1.44 2020-10-10 +Version 1.44 2020-10-19 * add test file src/tests/test_pthread_lock.c * add uniq_skiplist.[hc] * add function split_string_ex diff --git a/src/fast_task_queue.h b/src/fast_task_queue.h index 72f3723c4cf842a2d41b55fe8e0a6684b5168f7e..b0bbd5ff4c119fae4455a3f02bfd9ace2935d520 100644 --- a/src/fast_task_queue.h +++ b/src/fast_task_queue.h @@ -83,7 +83,10 @@ struct fast_task_info int length; //data length int offset; //current offset 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 int connect_timeout; //for client side int network_timeout;