prosody
log
graph
tags
bookmarks
branches
6d97895c2bd7
browse
changeset
util/timer.lua
annotate
comparison
diff
file
raw
Log
latest
help
RSS:
Atom:
Find changesets by keywords by author, files, the commit message, revision number or hash, or
revset expression
.
Software
/
code
/
prosody
Log
util/timer.lua @ 7264:
6d97895c2bd7
less
more
|
(0)
tip
description
author
age
util.*: Remove use of module() function, make all module functions local and return them in a table at the end
Kim Alvefur
2015-02-21
Move timer code out of util.timer and into relevant net.server backends
daurnimator
2014-10-20
util/timer: Re-set params when timer is rescheduled
daurnimator
2013-11-06
util.timer: Import all require upvalues.
Waqas Hussain
2013-10-30
util.timer: Fix another variable name typo (thanks again zash).
Waqas Hussain
2013-10-30
util.timer: Fix variable name typo.
Waqas Hussain
2013-10-30
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.
Waqas Hussain
2013-10-30
Remove all trailing whitespace
Florian Zeitz
2013-08-09
util.timer: Always pass the current time to timer callbacks.
Waqas Hussain
2012-05-12
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani)
Matthew Wild
2012-05-03
net.server, net.timer, net.server_select: Rearrange dependencies between these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
Matthew Wild
2012-05-03
util.timer: Remove unused function imports
Matthew Wild
2012-04-28
util.timer: Variable name change (func -> callback)
Matthew Wild
2011-11-03
util.timer: Fix corner case of timer not repeating if it returns <= 0
Matthew Wild
2011-09-22
util.timer: Activate higher timer precision.
Waqas Hussain
2010-12-02
util.timer: When using libevent hold onto the event handle to stop it being collected (and the timer stopping). Fixes BOSH ghosts, thanks Flo, niekie, waqas.
Matthew Wild
2010-04-07
Merge 0.6->0.7
Matthew Wild
2010-03-22
Update copyright headers for 2010
Matthew Wild
2010-03-22
util.timer: Use luaevent's built-in method of repeating an event (fixes a weird crash)
Matthew Wild
2009-12-17
util.timer: Fix libevent timers (event.base doesn't exist...)
Matthew Wild
2009-11-21
util.timer: Use libevent for lightweight timers if available and configured (use_libevent option)
Matthew Wild
2009-11-21
util.timer: Pass current_time to timer callbacks
Matthew Wild
2009-10-03
Remove version number from copyright headers
Matthew Wild
2009-07-10
0.3->0.4
Matthew Wild
2009-03-20
util.timer: More small fixes I forgot to commit
Matthew Wild
2009-02-26
util.timer: Fix crash when loaded but no tasks set, fix skipping some tasks when multiple set, and one removed
Matthew Wild
2009-02-26
Added util/timer.lua - a timer API
Waqas Hussain
2009-02-20
less
more
|
(0)
tip