Hello,
you know ... patches on tracker :-) ... and discussion here.
Do you see a major benefit using this approach instead of registering
another timer function? It was mentioned in a email that future work ill
consider having multiple timer processes (I guess it was some discussion
about nathelper improvements).
Cheers,
Daniel
On 04/26/07 15:32, Henning Westerholt wrote:
Hello,
the attached patch adds a generic task execution implementation to the core.
This is useful for monitoring purposes, e.g. in database modules to see if
the db is still present.
You can register any function and an execution interval. This code (with a
little bit different naming) has been in productions almost a year.
Furthermore it can be deactivated with one simple #ifdef.
I attached also a small demo module, that shows the usage of this facility.
Its simple creates and register a task that output a log message every 10
seconds.
I think this is a useful additions to OpenSER. Any comments?
Cheers,
Henning
------------------------------------------------------------------------
_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel