diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-02-26 14:18:52 -0500 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-02-26 18:07:36 -0500 |
commit | 60f8c1acf4462ff546fbdda3e071694767b86f1c (patch) | |
tree | b3b8a100f2501ca681a51d41cf3791053f7fba16 /src/node_constants.cc | |
parent | 3e3d941495f81174d487df9ca3ad3f64e64cfa5a (diff) | |
download | android-node-v8-60f8c1acf4462ff546fbdda3e071694767b86f1c.tar.gz android-node-v8-60f8c1acf4462ff546fbdda3e071694767b86f1c.tar.bz2 android-node-v8-60f8c1acf4462ff546fbdda3e071694767b86f1c.zip |
timers: refactor timers
Consolidates the implementation of regular and internal (_unrefActive)
timers.
Also includes a couple optimizations:
- Isolates the try/catch from listOnTimeout() in a new tryOnTimeout().
- Uses a TimersList constructor as the base for linkedlists.
Additionally includes other cleanup and clarification, such as a rename
of "Timer" to "TimerWrap".
PR-URL: https://github.com/nodejs/node/pull/4007
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Julien Gilli <jgilli@nodejs.org>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Diffstat (limited to 'src/node_constants.cc')
0 files changed, 0 insertions, 0 deletions