notify field: add volatile modifier

pull/37/head
YuQing 2020-10-21 09:30:53 +08:00
parent 5b6bb3193b
commit bb33b2e09f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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