[Olsr-dev] timing

Henning Rogge (spam-protected)
Wed Dec 8 17:19:05 CET 2010


On Wednesday 08 December 2010 09:18:16 Ferry Huberts wrote:
> Hi list,
> 
> I'm writing a plugin and I want to reduce the rate of updates I'm
> sending over the olsr network.
> Is there a standard mechanism in the stack that allows me to receive
> notification (for example every second) on which I can decide whether or
> not to send out an update?
Yes, OLSRd contains a timer scheduler.

look into the watchdog plugin for a very easy example.

Henning Rogge
-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20101208/b6496e4c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20101208/b6496e4c/attachment.sig>


More information about the Olsr-dev mailing list