GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — timers: refactor timer callback initialization by joyeecheung · Pull Request #26583 · nodejs/node

Conversation

@joyeecheung

@joyeecheung joyeecheung commented Mar 11, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

timers: refactor to use module.exports

timers: reduce usage of public util

Refs: #26546

timers: refactor timer callback initialization

This patch:

  • Moves the timer callback initialization into bootstrap/node.js,
    documents when they will be called, and make the dependency on
    process._tickCallback explicit.
  • Moves the initialization of tick callbacks and timer callbacks
    to the end of the bootstrap to make sure the operations
    done before those initializations are synchronous.
  • Moves more internals into internal/timers.js from timers.js.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@nodejs-github-bot

nodejs-github-bot commented Mar 11, 2019

Copy link
Copy Markdown
Collaborator

@joyeecheung build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/2861/pipeline

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nodejs-github-bot nodejs-github-bot added the timers Issues and PRs related to timers, setImmediate(), setInterval(), and setTimeout(). label Mar 11, 2019
@joyeecheung
joyeecheung force-pushed the refactor-timers branch 2 times, most recently from fe2f5d8 to 4a99e42 Compare March 11, 2019 11:37
@joyeecheung

joyeecheung commented Mar 11, 2019

Copy link
Copy Markdown
Member Author

CI: https://ci.nodejs.org/job/node-test-pull-request/21438/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax
addaleax approved these changes Mar 12, 2019
View reviewed changes

@addaleax addaleax left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nodejs/timers

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
joyeecheung added 3 commits March 18, 2019 23:33
@joyeecheung
timers: refactor to use module.exports
a53dc0b
@joyeecheung
timers: reduce usage of public util
4ac4f32
Refs: nodejs#26546
@joyeecheung
timers: refactor timer callback initialization
4bc8ffa
This patch:

- Moves the timer callback initialization into bootstrap/node.js,
  documents when they will be called, and make the dependency on
  process._tickCallback explicit.
- Moves the initialization of tick callbacks and timer callbacks
  to the end of the bootstrap to make sure the operations
  done before those initializations are synchronous.
- Moves more internals into internal/timers.js from timers.js.
@joyeecheung
joyeecheung force-pushed the refactor-timers branch from 4a99e42 to 4bc8ffa Compare March 18, 2019 15:58
@joyeecheung

joyeecheung commented Mar 18, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Rebased. CI: https://ci.nodejs.org/job/node-test-pull-request/21632/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung

joyeecheung commented Mar 18, 2019

Copy link
Copy Markdown
Member Author

Resume: https://ci.nodejs.org/job/node-test-pull-request/21639/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung

joyeecheung commented Mar 18, 2019

Copy link
Copy Markdown
Member Author

Landed in 84156cf...1a6fb71

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@joyeecheung joyeecheung closed this Mar 18, 2019
joyeecheung added a commit that referenced this pull request Mar 18, 2019
@joyeecheung
timers: refactor to use module.exports
4980cc7
PR-URL: #26583
Refs: #26546
Reviewed-By: Anna Henningsen <[email protected]>
joyeecheung added a commit that referenced this pull request Mar 18, 2019
@joyeecheung
timers: reduce usage of public util
7866508
Refs: #26546

PR-URL: #26583
Reviewed-By: Anna Henningsen <[email protected]>
joyeecheung added a commit that referenced this pull request Mar 18, 2019
@joyeecheung
timers: refactor timer callback initialization
1a6fb71
This patch:

- Moves the timer callback initialization into bootstrap/node.js,
  documents when they will be called, and make the dependency on
  process._tickCallback explicit.
- Moves the initialization of tick callbacks and timer callbacks
  to the end of the bootstrap to make sure the operations
  done before those initializations are synchronous.
- Moves more internals into internal/timers.js from timers.js.

PR-URL: #26583
Refs: #26546
Reviewed-By: Anna Henningsen <[email protected]>
@Fishrock123

Fishrock123 commented Mar 18, 2019

Copy link
Copy Markdown
Contributor

I think the large comment block should have been moved as well...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Fishrock123 added a commit to Fishrock123/node that referenced this pull request Mar 18, 2019
@Fishrock123
timers: move big impl comment to /internal/
749d87b
To be paired with the commits from
nodejs#26583

Specifically:
1a6fb71
@Fishrock123 Fishrock123 mentioned this pull request Mar 18, 2019
timers: move big impl comment to /internal/ #26761
Closed
2 tasks done
Fishrock123 added a commit that referenced this pull request Mar 21, 2019
@Fishrock123
timers: move big impl comment to /internal/
56199ec
To be paired with the commits from
#26583

Specifically:
1a6fb71

PR-URL: #26761
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
targos pushed a commit that referenced this pull request Mar 27, 2019
@joyeecheung @targos
timers: refactor to use module.exports
e6367c2
PR-URL: #26583
Refs: #26546
Reviewed-By: Anna Henningsen <[email protected]>
targos pushed a commit that referenced this pull request Mar 27, 2019
@joyeecheung @targos
timers: reduce usage of public util
ebb0c2a
Refs: #26546

PR-URL: #26583
Reviewed-By: Anna Henningsen <[email protected]>
targos pushed a commit that referenced this pull request Mar 27, 2019
@joyeecheung @targos
timers: refactor timer callback initialization
1f4a5bc
This patch:

- Moves the timer callback initialization into bootstrap/node.js,
  documents when they will be called, and make the dependency on
  process._tickCallback explicit.
- Moves the initialization of tick callbacks and timer callbacks
  to the end of the bootstrap to make sure the operations
  done before those initializations are synchronous.
- Moves more internals into internal/timers.js from timers.js.

PR-URL: #26583
Refs: #26546
Reviewed-By: Anna Henningsen <[email protected]>
targos pushed a commit that referenced this pull request Mar 27, 2019
@Fishrock123 @targos
timers: move big impl comment to /internal/
a640834
To be paired with the commits from
#26583

Specifically:
1a6fb71

PR-URL: #26761
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
@targos targos mentioned this pull request Mar 27, 2019
v11.13.0 release proposal #26949
Merged
@kissofire kissofire mentioned this pull request Mar 7, 2021
[Snyk] Fix for 1 vulnerabilities kissofire/node#28
Open
@aliceUnhinged613 aliceUnhinged613 mentioned this pull request Mar 7, 2021
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 aliceUnhinged613/node#19
Open
@ron-a20 ron-a20 mentioned this pull request Mar 8, 2021
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 ron-a20/node#26
Open
@Rednickle Rednickle mentioned this pull request Mar 8, 2021
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 Rednickle/node-1#15
Open
This was referenced Mar 11, 2021
[Snyk] Fix for 6 vulnerabilities Dmarch28/node#8
Open
[Snyk] Fix for 6 vulnerabilities Dmarch28/node#9
Open
This was referenced May 25, 2021
[Snyk] Security upgrade gatsby-plugin-sharp from 2.6.24 to 2.6.31 Dmarch28/node#21
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.6.24 to 2.6.31 Dmarch28/node#22
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.2.13 to 2.6.31 kissofire/node#35
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 sitedata/node#25
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.2.13 to 2.6.31 meghasfdc/node#35
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 ron-a20/node#33
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.6.24 to 2.6.31 baby636/node#10
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 Rednickle/node-1#22
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 aliceUnhinged613/node#25
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 137717unity/node#26
Open
This was referenced Apr 7, 2022
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 ron-a20/node#61
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 Rednickle/node-1#47
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 137717unity/node#52
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 aliceUnhinged613/node#53
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.6.24 to 2.6.31 Dmarch28/node#54
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.6.24 to 2.6.31 baby636/node#49
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 molllyn1/node#43
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 wedataintelligence/node#28
Open
[Snyk] Security upgrade gatsby-plugin-sharp from 2.3.10 to 2.6.31 turkdevops/node#364
Closed
@snyk-bot snyk-bot mentioned this pull request Jan 30, 2023
[Snyk] Fix for 1 vulnerabilities aliceUnhinged613/node#89
Open
@wedataintelligence wedataintelligence mentioned this pull request Jan 30, 2023
[Snyk] Fix for 1 vulnerabilities wedataintelligence/node#73
Open
@snyk-bot snyk-bot mentioned this pull request Jan 30, 2023
[Snyk] Fix for 1 vulnerabilities kissofire/node#94
Open
@molllyn1 molllyn1 mentioned this pull request Jan 31, 2023
[Snyk] Fix for 1 vulnerabilities molllyn1/node#76
Open
@snyk-bot snyk-bot mentioned this pull request Jan 31, 2023
[Snyk] Fix for 1 vulnerabilities 137717unity/node#93
Open
@baby636 baby636 mentioned this pull request Jan 31, 2023
[Snyk] Fix for 1 vulnerabilities baby636/node#88
Open
This was referenced Jan 31, 2023
[Snyk] Fix for 1 vulnerabilities ron-a20/node#93
Open
[Snyk] Fix for 1 vulnerabilities Rednickle/node-1#70
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@addaleax addaleax addaleax approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

timers Issues and PRs related to timers, setImmediate(), setInterval(), and setTimeout().

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@joyeecheung @nodejs-github-bot @Fishrock123 @addaleax
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.