must set timeout entry's dlink to NULL because NOT in time wheel
parent
81a45e7253
commit
8718f26b2e
3
HISTORY
3
HISTORY
|
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
Version 1.10 2014-11-01
|
Version 1.10 2014-10-31
|
||||||
* correct iovent macro define
|
* correct iovent macro define
|
||||||
|
* must set timeout entry's dlink to NULL because NOT in time wheel
|
||||||
|
|
||||||
Version 1.09 2014-10-26
|
Version 1.09 2014-10-26
|
||||||
* Version struct add variable: patch
|
* Version struct add variable: patch
|
||||||
|
|
|
||||||
|
|
@ -60,6 +60,7 @@ static void deal_timeouts(FastTimerEntry *head)
|
||||||
current = entry;
|
current = entry;
|
||||||
entry = entry->next;
|
entry = entry->next;
|
||||||
|
|
||||||
|
current->prev = current->next = NULL; //must set NULL because NOT in time wheel
|
||||||
pEventEntry = (IOEventEntry *)current->data;
|
pEventEntry = (IOEventEntry *)current->data;
|
||||||
if (pEventEntry != NULL)
|
if (pEventEntry != NULL)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue