]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_core/commit
tq bugfixes (and API change)
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 29 Jul 2017 19:32:45 +0000 (15:32 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sun, 30 Jul 2017 07:06:22 +0000 (03:06 -0400)
commitea8fb54c124b03812c02231ee0363da41fa58f8b
tree222a52ced99cd60652c95e0d066373d9d998922a
parent2f8800a93322f751af70733106bda3ba82a4cfed
tq bugfixes (and API change)

- not all lapsed time should be credited to the head node
- needs to reset the time base (_tst) in all cases
- always return the object for cancellation
- defend against time going backwards (just in case)

While here, rework to simplify, simplify API, and add comments
tq/tq.lua