commit | fed176ab90fe51ba503e2b863fed48dff0b7c4e7 | [log] [tgz] |
---|---|---|
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Fri Aug 14 14:30:00 2009 +0200 |
committer | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Fri Aug 14 14:30:00 2009 +0200 |
tree | 8dd61b6cd885fa8ef1cf7907bd6b2d5deb013e1c | |
parent | daef606502373b642776325a5989a283858b78d2 [diff] [blame] |
implement a timer_list check before we return into the select() loop this helps us to debug timer_list corruption
diff --git a/openbsc/src/select.c b/openbsc/src/select.c index 7f45426..c11f3a5 100644 --- a/openbsc/src/select.c +++ b/openbsc/src/select.c
@@ -78,6 +78,8 @@ FD_SET(ufd->fd, &exceptset); } + bsc_timer_check(); + if (!polling) bsc_prepare_timers(); rc = select(maxfd+1, &readset, &writeset, &exceptset, polling ? &no_time : bsc_nearest_timer());