Log

util/timer.lua @ 5879:95f1d5421fbc

description author age
util.timer: Fix another variable name typo (thanks again zash). Waqas Hussain Wed, 30 Oct 2013 17:56:00 -0400
util.timer: Fix variable name typo. Waqas Hussain Wed, 30 Oct 2013 17:51:37 -0400
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 Wed, 30 Oct 2013 17:44:42 -0400
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.timer: Always pass the current time to timer callbacks. Waqas Hussain Sat, 12 May 2012 21:46:54 +0500
util.timer: Remove unnecessary require calls, fixes a traceback (thanks nulani) Matthew Wild Thu, 03 May 2012 18:59:06 +0100
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 Thu, 03 May 2012 16:48:34 +0100
util.timer: Remove unused function imports Matthew Wild Sat, 28 Apr 2012 02:41:53 +0100