Skip to content

Commit

Permalink
timers: refactor timers
Browse files Browse the repository at this point in the history
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: #4007
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
Reviewed-By: Julien Gilli <[email protected]>
Reviewed-By: Chris Dickinson <[email protected]>
  • Loading branch information
Fishrock123 committed Feb 26, 2016
1 parent 3e3d941 commit 60f8c1a
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 218 deletions.
Loading

0 comments on commit 60f8c1a

Please sign in to comment.