aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/net.c
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-10-30 17:44:42 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-10-30 17:44:42 -0400
commit792398b07ef11702ddc6b842744840969e48b0e6 (patch)
treeff11c1b8dae686f95c1a2222bda607fd58b8ef9f /util-src/net.c
parent86e7a96d76ab04d32f92beace38ab0593e8d1b02 (diff)
downloadprosody-792398b07ef11702ddc6b842744840969e48b0e6.tar.gz
prosody-792398b07ef11702ddc6b842744840969e48b0e6.zip
util.timer: Updated to use util.indexedbheap to provide a more complete API. Timers can now be stopped or rescheduled. Callbacks are now pcall'd. Adding/removing timers from within timer callbacks works better. Optional parameter can be passed when creating timer which gets passed to callback, eliminating the need for closures in various timer uses. Timers are now much more lightweight.
Diffstat (limited to 'util-src/net.c')
0 files changed, 0 insertions, 0 deletions