tevent: Add tevent_update_timer()
commit0ecefd5bf91ae8297569dc862d7259e942d895fe
authorVolker Lendecke <vl@samba.org>
Wed, 31 Aug 2016 13:39:59 +0000 (31 15:39 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 4 Oct 2016 22:06:21 +0000 (5 00:06 +0200)
treef3560da31657b7251d5bc4181e3cbdc7bee2c21b
parentc834efabd685198c570503bfc8394ff80899cef5
tevent: Add tevent_update_timer()

This will be a quicker way to time out sending sockets in messaging_dgm. Right
now cleanup of out-sockets is a bit coarse. The ideal would be to kill a socket
after being idle n seconds. This would mean to free and re-install a timer on
every packet. tevent_update_timer will be quite a bit cheaper.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tevent/ABI/tevent-0.9.30.sigs
lib/tevent/tevent.h
lib/tevent/tevent_timed.c