From 8b697246dfd0026517ec5ae4271303296b389638 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 7 Dec 2020 14:09:49 -0800 Subject: [PATCH] doc: reword POSIX threads text in addons.md PR-URL: https://github.com/nodejs/node/pull/36436 Reviewed-By: Anna Henningsen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Luigi Pinca --- doc/api/addons.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/addons.md b/doc/api/addons.md index 796e32248f8aed..9f7e8900989d04 100644 --- a/doc/api/addons.md +++ b/doc/api/addons.md @@ -26,8 +26,8 @@ involving knowledge of several components and APIs: serves as a cross-platform abstraction library, giving easy, POSIX-like access across all major operating systems to many common system tasks, such as interacting with the filesystem, sockets, timers, and system events. libuv - also provides a pthreads-like threading abstraction that may be used to - power more sophisticated asynchronous addons that need to move beyond the + also provides a threading abstraction similar to POSIX threads for + more sophisticated asynchronous addons that need to move beyond the standard event loop. Addon authors are encouraged to think about how to avoid blocking the event loop with I/O or other time-intensive tasks by off-loading work via libuv to non-blocking system operations, worker threads