aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-07-02 11:17:23 +0200
committerGitHub <noreply@github.com>2023-07-02 11:17:23 +0200
commit2d40f5e843a99a67efd55304d17ccd48d47d9013 (patch)
treeb318e2919256809bb06721ccff08ac4f90bf84dd
parent2031812348e79e3d854d444b53e69340ab42e5dd (diff)
downloadrneovim-2d40f5e843a99a67efd55304d17ccd48d47d9013.tar.gz
rneovim-2d40f5e843a99a67efd55304d17ccd48d47d9013.tar.bz2
rneovim-2d40f5e843a99a67efd55304d17ccd48d47d9013.zip
build(deps): bump luv to 1.45.0-0 (#24228)
https://github.com/luvit/luv/releases/tag/1.45.0-0
-rw-r--r--cmake.deps/deps.txt4
-rw-r--r--runtime/doc/luvref.txt34
2 files changed, 22 insertions, 16 deletions
diff --git a/cmake.deps/deps.txt b/cmake.deps/deps.txt
index a62bad20c6..57032b340e 100644
--- a/cmake.deps/deps.txt
+++ b/cmake.deps/deps.txt
@@ -19,8 +19,8 @@ LIBTERMKEY_SHA256 6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb30146
LIBVTERM_URL https://github.com/neovim/deps/raw/6c0a5213d062f2210fd5fecb9524ac27ca018ef4/opt/libvterm-0.3.2.tar.gz
LIBVTERM_SHA256 91eb5088069f4e6edab69e14c4212f6da0192e65695956dc048016a0dab8bcf6
-LUV_URL https://github.com/luvit/luv/archive/c1497c0ffd3e1400a137ac99a614159a685f716b.tar.gz
-LUV_SHA256 fc8c8c777454b78e09c06bd177860da9b79804affc967b015ecccb75b3af6893
+LUV_URL https://github.com/luvit/luv/archive/1.45.0-0.tar.gz
+LUV_SHA256 97e89940f9eeaa8dfb34f1c19f80dd373299c42719d15228ec790f415d4e4965
LPEG_URL https://github.com/neovim/deps/raw/aa004f1b2b6470a92363cba8e1cc1874141dacc4/opt/lpeg-1.0.2.tar.gz
LPEG_SHA256 48d66576051b6c78388faad09b70493093264588fcd0f258ddaab1cdd4a15ffe
diff --git a/runtime/doc/luvref.txt b/runtime/doc/luvref.txt
index 131e7889e4..8c842de97a 100644
--- a/runtime/doc/luvref.txt
+++ b/runtime/doc/luvref.txt
@@ -3510,14 +3510,22 @@ uv.thread_setaffinity({thread}, {affinity} [, {get_old_affinity}])
- `[1, 2, 3, ..., n]` : `boolean`
- `get_old_affinity`: `boolean`
- Sets the specified thread's affinity setting. `affinity` must
- be an array-like table where each of the keys correspond to a
- CPU number and the values are booleans that represent whether
- the `thread` should be eligible to run on that CPU. The length
- of the `affinity` table must be greater than or equal to
- `uv.cpumask_size()`. If `get_old_affinity` is `true`, the
- previous affinity settings for the `thread` will be returned.
- Otherwise, `true` is returned after a successful call.
+ Sets the specified thread's affinity setting.
+
+ `affinity` must be a table where each of the keys are a CPU
+ number and the values are booleans that represent whether the
+ `thread` should be eligible to run on that CPU. If the length
+ of the `affinity` table is not greater than or equal to
+ |uv.cpumask_size()|, any CPU numbers missing from the table
+ will have their affinity set to `false`. If setting the
+ affinity of more than |uv.cpumask_size()| CPUs is desired,
+ `affinity` must be an array-like table with no gaps, since
+ `#affinity` will be used as the `cpumask_size` if it is
+ greater than |uv.cpumask_size()|.
+
+ If `get_old_affinity` is `true`, the previous affinity
+ settings for the `thread` will be returned. Otherwise, `true`
+ is returned after a successful call.
Note: Thread affinity setting is not atomic on Windows.
Unsupported on macOS.
@@ -4078,19 +4086,17 @@ uv.metrics_idle_time() *uv.metrics_idle_time()*
uv.metrics_info() *uv.metrics_info()*
Get the metrics table from current set of event loop metrics.
+ It is recommended to retrieve these metrics in a `prepare`
+ callback (see |uv.new_prepare()|, |uv.prepare_start()|) in order
+ to make sure there are no inconsistencies with the metrics
+ counters.
Returns: `table`
- The table contains event loop metrics. It is recommended to
- retrieve these metrics in a uv_prepare_cb in order to make
- sure there are no inconsistencies with the metrics counters.
-
- `loop_count` : `integer`
- `events` : `integer`
- `events_waiting` : `integer`
- Note: New in libuv version 1.45.0.
-
==============================================================================
CREDITS *luv-credits*