Added select() backend which can be used as a fallback if epoll is not available.
This commit is contained in:
@@ -99,7 +99,7 @@ void timeout_queue_remove(struct timeout_queue* t, struct timeout_evt* evt)
|
||||
size_t pos = (evt->timestamp % t->max);
|
||||
struct timeout_evt* first = t->events[pos];
|
||||
|
||||
if (!first)
|
||||
if (!first || !evt)
|
||||
return;
|
||||
|
||||
if (first == evt)
|
||||
|
||||
Reference in New Issue
Block a user