aboutsummaryrefslogtreecommitdiffstats
path: root/util/timer.lua
Commit message (Expand)AuthorAgeFilesLines
* util: Prefix module imports with prosody namespaceKim Alvefur2023-03-171-5/+5
* Merge 0.11->trunkKim Alvefur2021-01-081-1/+14
|\
| * util.timer: Ensure timers can't run more than once per tick (fixes #1620)Kim Alvefur2021-01-081-1/+14
* | util.timer: Defer to selected net.server if it implements this APIKim Alvefur2020-06-291-0/+5
|/
* Many things: switch from hacky multi-arg xpcall implementations to a standard...Matthew Wild2018-10-261-12/+8
* util.{async,timer}: Move sleep() to reduce dependencies of util.timerKim Alvefur2018-07-081-8/+0
* util.timer: Ensure we don't try to schedule negative timeouts (which rightly ...Matthew Wild2018-04-291-1/+2
* util.timer: Move sleep() here from util.asyncKim Alvefur2018-03-231-0/+8
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
* Merge 0.10->trunkKim Alvefur2017-03-201-1/+1
|\
| * util.statistics,statsd,throttle,timer: Replace dependency on LuaSockect with ...Kim Alvefur2017-03-201-1/+1
* | util.timer: Reschedule timers from stop() if the next pending event is stoppedKim Alvefur2015-12-231-1/+10
* | util.timer: If possible, close the existing timer handle in order to have onl...Kim Alvefur2015-11-221-2/+8
* | util.timer: Expire timer instance if another instance is already set to take ...Kim Alvefur2015-11-221-2/+11
* | util.timer: Keep count of how many timer instances are activeKim Alvefur2015-11-221-0/+3
* | util.timer: Fix indentationKim Alvefur2015-09-181-6/+6
* | Merge 0.10->trunkKim Alvefur2015-08-201-12/+16
|\|
| * util.*: Remove use of module() function, make all module functions local and ...Kim Alvefur2015-02-211-4/+4
* | Move timer code out of util.timer and into relevant net.server backendsdaurnimator2014-10-201-66/+1
* | util/timer: Re-set params when timer is rescheduleddaurnimator2013-11-061-0/+1
* | util.timer: Import all require upvalues.Waqas Hussain2013-10-301-1/+4
* | util.timer: Fix another variable name typo (thanks again zash).Waqas Hussain2013-10-301-2/+2
* | util.timer: Fix variable name typo.Waqas Hussain2013-10-301-2/+2
* | util.timer: Updated to use util.indexedbheap to provide a more complete API. ...Waqas Hussain2013-10-301-1/+57
|/
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
* util.timer: Always pass the current time to timer callbacks.Waqas Hussain2012-05-121-2/+2
* util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani)Matthew Wild2012-05-031-2/+2
* net.server, net.timer, net.server_select: Rearrange dependencies between thes...Matthew Wild2012-05-031-7/+6
* util.timer: Remove unused function importsMatthew Wild2012-04-281-2/+1
* util.timer: Variable name change (func -> callback)Matthew Wild2011-11-031-9/+9
* util.timer: Fix corner case of timer not repeating if it returns <= 0Matthew Wild2011-09-221-1/+4
* util.timer: Activate higher timer precision.Waqas Hussain2010-12-021-2/+11
* util.timer: When using libevent hold onto the event handle to stop it being c...Matthew Wild2010-04-071-2/+3
* Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
* | util.timer: Use luaevent's built-in method of repeating an event (fixes a wei...Matthew Wild2009-12-171-2/+2
* | util.timer: Fix libevent timers (event.base doesn't exist...)Matthew Wild2009-11-211-1/+2
* | util.timer: Use libevent for lightweight timers if available and configured (...Matthew Wild2009-11-211-24/+44
|/
* util.timer: Pass current_time to timer callbacksMatthew Wild2009-10-031-1/+1
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
* 0.3->0.4Matthew Wild2009-03-201-1/+1
* util.timer: More small fixes I forgot to commitMatthew Wild2009-02-261-4/+2
* util.timer: Fix crash when loaded but no tasks set, fix skipping some tasks w...Matthew Wild2009-02-261-7/+13
* Added util/timer.lua - a timer APIWaqas Hussain2009-02-211-0/+47