4 ms·
A node worker_thread is not a thread either though :]
by inglor 1y ago
A node worker_thread is not a thread either though :]
- remram 1y agoReally? The docs make it seems like it is: https://nodejs.org/api/worker_threads.html#worker-threads https://nodejs.org/api/worker_threads.html#worker-threads
- cstrahan 1y agoRight at the top of the docs for worker_threads: > The node:worker_threads module enables the use of threads that execute JavaScript in parallel. Now that it doesn’t say “concurrent”, it says “parallel”. This implies that multiple threads are involved.