new timer code: semantics of osmo_timer_schedule for already scheduled timer

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Sylvain Munaut 246tnt at gmail.com
Sat Nov 12 22:07:03 UTC 2011


> The patch attached should recover the former behaviour, sorry for
> missing this case.

Oops, sorry, we actually continued on IRC.

Look at the first few commits of
http://cgit.osmocom.org/cgit/libosmocore/log/?h=sylvain/for_jolly

They bring in some fixes/cleanups from the kernel for rbtree then
something that fixes the timer. This patch keeps the list head intact
and just remove the timer from the tree and re-adds it at the right
place.

Cheers,

    Sylvain




More information about the OpenBSC mailing list