node/test
Jeremiah Senkpiel 60f8c1acf4 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>
2016-02-26 18:07:36 -05:00
..
abort src: honor --abort_on_uncaught_exception flag 2015-09-17 15:25:25 -05:00
addons test: add addons test for MakeCallback 2016-02-12 14:03:34 -07:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger lib,test: remove extra semicolons 2016-01-16 19:54:25 +01:00
disabled test: replace deprecated util.debug() calls 2015-09-28 11:15:06 -07:00
fixtures crypto: Improve control of FIPS mode 2016-02-25 15:06:41 -05:00
gc tools: lint for spacing around unary operators 2016-02-04 10:56:17 -08:00
internet dns: add resolvePtr to query plain DNS PTR records 2016-02-08 17:30:38 +01:00
message timers: refactor timers 2016-02-26 18:07:36 -05:00
parallel test: refactor test-dgram-send-callback-recursive 2016-02-26 12:14:32 +01:00
pummel crypto: Improve control of FIPS mode 2016-02-25 15:06:41 -05:00
sequential src,test,tools: modify for more stringent linting 2016-02-18 10:11:26 -08:00
testpy test: fix default value for additional param 2015-09-15 19:59:38 +05:30
timers test: fix test-timers.reliability on OS X 2016-02-24 21:24:33 -08:00
.eslintrc test: make common.js mandatory via linting rule 2015-10-06 15:11:58 -07:00
common.js crypto: Improve control of FIPS mode 2016-02-25 15:06:41 -05:00