diff --git a/src/fast_task_queue.h b/src/fast_task_queue.h index b15ba5c..5a3a0fb 100644 --- a/src/fast_task_queue.h +++ b/src/fast_task_queue.h @@ -76,7 +76,7 @@ struct fast_task_info int length; //data length int offset; //current offset uint16_t port; //peer port - char nio_stage; //stage for network IO + volatile short nio_stage; //stage for network IO bool canceled; //if task canceled int connect_timeout; //for client side int network_timeout;