Commit 38145344 authored by Ryan Petrich's avatar Ryan Petrich Committed by Gabriel Schulhof
Browse files

src: fix race on modpending

Fixes a rare race condition on modpending when two native modules are
loaded simultaneously on different threads by storing it thread-
locally.

PR-URL: https://github.com/nodejs/node/pull/21611


Reviewed-By: default avatarGabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-By: default avatarAnatoli Papirovski <apapirovski@mac.com>
parent 73b8ddee
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment