diff --git a/HISTORY b/HISTORY index d053ac8..e8a0df1 100644 --- a/HISTORY +++ b/HISTORY @@ -1,5 +1,5 @@ -Version 1.44 2020-10-19 +Version 1.44 2020-10-21 * 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 b0bbd5f..37a02f1 100644 --- a/src/fast_task_queue.h +++ b/src/fast_task_queue.h @@ -85,7 +85,7 @@ struct fast_task_info uint16_t port; //peer port struct { uint8_t current; - uint8_t notify; + volatile uint8_t notify; } nio_stages; //stages for network IO bool canceled; //if task canceled int connect_timeout; //for client side