Commit 2df99ac
src: use lock for c-ares library init/cleanup
This helps embedders wishing to use Node.js in a multi-threaded fashion
and helps pave the way for thread-based worker support.
Thanks to Stephen Belanger for reviewing this commit in its original PR.
Refs: ayojs/ayo#82
PR-URL: #20539
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>1 parent 5803973 commit 2df99acCopy full SHA for 2df99ac
File tree
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Filter options
- src
Expand file treeCollapse file tree
1 file changed
+5
-0
lines changedOpen diff view settings
Collapse file
+5Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
| 73 | + |
| 74 | + |
73 | 75 | |
74 | 76 | |
75 | 77 | |
| ||
470 | 472 | |
471 | 473 | |
472 | 474 | |
| 475 | + |
473 | 476 | |
474 | 477 | |
475 | 478 | |
| ||
483 | 486 | |
484 | 487 | |
485 | 488 | |
| 489 | + |
486 | 490 | |
487 | 491 | |
488 | 492 | |
| ||
500 | 504 | |
501 | 505 | |
502 | 506 | |
| 507 | + |
503 | 508 | |
504 | 509 | |
505 | 510 | |
|
0 commit comments