Uh oh!
There was an error while loading. Please reload this page.
doc: add AsyncResource + Worker pool example - #31601
Conversation
Use Worker thread pools as an example of how `AsyncResource` can be used to track async state across callbacks.
addaleax
commented
Feb 1, 2020
@nodejs/async_hooks |
Uh oh!
There was an error while loading. Please reload this page.
pioardi
commented
Feb 2, 2020
Hi @addaleax , @gireeshpunathil , Thanks !!! |
Uh oh!
There was an error while loading. Please reload this page.
Trott
left a comment
There was a problem hiding this comment.
LGTM with or without my suggestion.
Co-Authored-By: Rich Trott <rtrott@gmail.com>
addaleax
commented
Feb 5, 2020
Landed in 6a6279e |
Use Worker thread pools as an example of how `AsyncResource` can be used to track async state across callbacks. PR-URL: #31601 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Use Worker thread pools as an example of how `AsyncResource` can be used to track async state across callbacks. PR-URL: #31601 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
codebytere
commented
Mar 15, 2020
Blocked on #32131 |
addaleax
commented
Mar 15, 2020
@codebytere … why? This is about |
codebytere
commented
Mar 15, 2020
@addaleax my fault, wrong label! you're right. This is a conflict but it just needs a manual backport. |
addaleax
commented
Mar 16, 2020
@codebytere It backports cleanly for me… I can just push to v12.x-staging if you like? |
Use Worker thread pools as an example of how `AsyncResource` can be used to track async state across callbacks. PR-URL: #31601 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Use Worker thread pools as an example of how `AsyncResource` can be used to track async state across callbacks. PR-URL: #31601 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Use Worker thread pools as an example of how `AsyncResource` can be used to track async state across callbacks. PR-URL: #31601 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Use Worker thread pools as an example of how
AsyncResourcecan be used to track async state across callbacks.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes