worker: runtime error on pthread creation · nodejs/node@833d78a · GitHub
Skip to content

Commit 833d78a

Browse files
HarshithaKPaddaleax
authored andcommitted
worker: runtime error on pthread creation
With large number of worker threads pthread fails with hard assertion. Instead of hard assertion throw a runtime error. PR-URL: #32344 Fixes: #32319 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 5740a70 commit 833d78a

2 files changed

Lines changed: 20 additions & 2 deletions

File tree

src/node_errors.h

Lines changed: 2 additions & 0 deletions

src/node_worker.cc

Lines changed: 18 additions & 2 deletions

0 commit comments

Comments
 (0)