build(deps): bump luv to 1.45.0-0 (#24228)

https://github.com/luvit/luv/releases/tag/1.45.0-0
This commit is contained in:
Christian Clason 2023-07-02 11:17:23 +02:00 committed by GitHub
parent 2031812348
commit 2d40f5e843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 16 deletions

View File

@ -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

View File

@ -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*