]> mj.ucw.cz Git - libucw.git/commit
mainloop: Improved deletion and insertion of hooks.
authorPavel Charvat <pchar@ucw.cz>
Wed, 16 Jun 2010 18:10:25 +0000 (20:10 +0200)
committerPavel Charvat <pchar@ucw.cz>
Wed, 16 Jun 2010 18:10:25 +0000 (20:10 +0200)
commit1e43161840b05a63cf2e67ff5bbde007db7952a9
tree700889779262c8ee4bc3b0314eb93dcff34fb637
parentf2b0e71521b3d8f79d3ae71ffb31ed80096904da
mainloop: Improved deletion and insertion of hooks.

It is now guaranted that:
* You can safely remove hook anytime, even from other hook.
* Newly inserted hook will be called at least once before next sleep.
ucw/mainloop.c