| Branch: | Revision:

iof-bird-daemon / lib / event.c @ 62e64905

History | View | Annotate | Download (2.94 KB)

# Date Author Comment
8bcb5fb1 03/02/2015 08:41 AM Ondrej Zajicek

Implement latency tracking, internal event log and watchdog

6f8bbaa1 11/03/2014 09:42 AM Ondrej Zajicek

Fininshing integrated OSPF.

acb60628 06/02/2010 08:20 PM Ondrej Zajicek

Implements command that shows memory usage.

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

daeeb8e9 09/04/2009 09:24 AM Ondrej Zajicek

Clear memory allocated by ralloc().

This also fixes bug that timer->recurrent was not cleared
in tm_new() and unexpected recurrence of startup timer
in BGP confused state machine and caused crash.

b933281e 12/18/2008 10:26 PM Ondrej Zajicek

Fixes nasty bug in event processing.

WALK_LIST_DELSAFE (in ev_run_list) is not safe with regard
to deletion of next node. When some events are rescheduled
during event execution, it may lead to deletion of next
node and some events are skipped. Such skipped nodes remain...

58f7d004 06/07/2000 01:25 PM Martin Mares

Fixes to the progdoc.

525fa2c1 06/05/2000 12:19 PM Martin Mares

Documented sockets, events and timers.

8f6accb5 04/27/2000 10:28 PM Martin Mares

Event handlers no longer return re-queue flag. Instead of using it, just
call ev_schedule() on the same handler which should work perfectly now.

ebc793a5 01/16/2000 05:39 PM Martin Mares

No more problems when events get scheduled during event processing.

84a7d7f7 11/17/1999 12:01 PM Martin Mares

ev_run() now returns whether the event has been requeued or not.
ev_run_list() now returns number of events which remain in the list.

0d70292d 10/29/1999 12:08 PM Martin Mares

Events now return a value. If it's non-zero, the event is re-queued
for processing in next event cycle. This can be used to prevent background
actions (hint: user commands) from hogging the CPU for too long time.

67bd949a 02/11/1999 10:59 PM Martin Mares

Real implementation of protocol state machines. Delayed startup/shutdown
should work now. Initial feeding of protocols by interfaces/routes is
done from the event queue to prevent unwanted recursion.

3b15402f 02/11/1999 10:18 PM Martin Mares

Grrr, forgot to commit the event routines themselves :|