Please sign in to comment.
src: use thread_local to declare modpending
The pointer used to hold an incoming dynamically loaded module's `node::node_module` structure needs to be thread-local. So far this was done with `uv_key_set()` and `uv_key_get()`. The language now supports the `thread_local` keyword which makes implementing this a lot cleaner. PR-URL: #28456 Reviewed-By: Ben Noordhuis <email@example.com> Reviewed-By: Anna Henningsen <firstname.lastname@example.org>
- Loading branch information...