mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-02 03:47:53 +08:00
fixed bug in events_timer.c, events_timer_thr.c
This commit is contained in:
parent
0f5ee564a9
commit
a86ca6dab0
@ -68,6 +68,7 @@ acl_int64 event_timer_request(ACL_EVENT *eventp, ACL_EVENT_NOTIFY_TIME callback,
|
||||
timer->nrefer = 1;
|
||||
timer->ncount = 0;
|
||||
timer->keep = keep;
|
||||
acl_ring_init(&timer->tmp);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -68,6 +68,7 @@ acl_int64 event_timer_request_thr(ACL_EVENT *eventp,
|
||||
timer->callback = callback;
|
||||
timer->context = context;
|
||||
timer->event_type = ACL_EVENT_TIME;
|
||||
acl_ring_init(&timer->tmp);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
%define release_id 7
|
||||
%define release_id 8
|
||||
|
||||
Summary: The powerful c/c++ library
|
||||
Name: acl-libs
|
||||
@ -46,6 +46,9 @@ rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
|
||||
* Thu Aug 13 2020 shuxin.zheng@qq.com 3.5.1-8-20200813.11
|
||||
- fixed bug in events_timer.c/events_timer_thr.c
|
||||
|
||||
* Tue Aug 11 2020 shuxin.zheng@qq.com 3.5.1-7-20200811.17
|
||||
- fixed one important bug in event_timer.c/event_timer_thr.c: when one timer
|
||||
cancel another timer, if the other timer has been in schedule queue, the
|
||||
|
Loading…
Reference in New Issue
Block a user