return NULL;
}
+ if (el->exit) {
+ fr_strerror_printf("Event loop exiting");
+ return NULL;
+ }
+
memset(&find, 0, sizeof(find));
/*
return -1;
}
+ if (el->exit) {
+ fr_strerror_printf("Event loop exiting");
+ return -1;
+ }
+
/*
* If there is an event, re-use it instead of freeing it
* and allocating a new one.
struct timeval when, *wake;
struct timespec ts_when, *ts_wake;
- if (el->exit) return -1;
+ if (el->exit) {
+ fr_strerror_printf("Event loop exiting");
+ return -1;
+ }
/*
* Find the first event. If there's none, we wait
{
int i;
+ if (el->exit) return;
+
/*
* Loop over all of the events, servicing them.
*/