#
e135dfe1 |
| 14-Nov-2023 |
Hao Hu <33607772+hhu8@users.noreply.github.com> |
unix,win: utility for setting priority for thread (#4075) Add uv_thread_setpriority for setting priority for threads created by uv_thread_create. Add uv_thread_getpriority for getting th
unix,win: utility for setting priority for thread (#4075) Add uv_thread_setpriority for setting priority for threads created by uv_thread_create. Add uv_thread_getpriority for getting thread priority. For Linux by default, if the scheduling policy is SCHED_OTHER and the priority is 0, we need to set the nice value. Fixes: https://github.com/libuv/libuv/issues/4051
show more ...
|
#
64669fdd |
| 15-Nov-2022 |
daomingq |
thread: add uv_thread_getcpu() (#3803) Add uv_thread_getcpu() api to get the cpu number on which the calling thread is running.
|
#
e9000066 |
| 21-Oct-2022 |
daomingq |
thread: add support for affinity (#3774) Backported thread affinity feature and related dependency commits from master. It will add support for those APIs: uv_cpumask_size, uv_thread
thread: add support for affinity (#3774) Backported thread affinity feature and related dependency commits from master. It will add support for those APIs: uv_cpumask_size, uv_thread_setaffinity, uv_thread_getaffinity. The supported platforms are Linux, Freebsd, and Windows. Empty implementations (returning UV_ENOTSUP) on non-supported platforms (such as OS X and AIX).
show more ...
|
Revision tags: v1.41.0, v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0, v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0, v1.31.0, v1.30.1, v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0 |
|
#
419975e5 |
| 20-Feb-2019 |
Ryan Liptak |
doc: fix typo in uv_thread_options_t definition PR-URL: https://github.com/libuv/libuv/pull/2195 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghu
doc: fix typo in uv_thread_options_t definition PR-URL: https://github.com/libuv/libuv/pull/2195 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.26.0 |
|
#
0eca049a |
| 06-Feb-2019 |
Anna Henningsen |
thread: allow specifying stack size for new thread PR-URL: https://github.com/libuv/libuv/pull/2179 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé
thread: allow specifying stack size for new thread PR-URL: https://github.com/libuv/libuv/pull/2179 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0 |
|
#
1ded6690 |
| 17-Jan-2018 |
John Barboza |
zos: fix timeout for condition variable The pthread_cond_timedwait requires a timeout relative to the Epoch. So don't use uv__hrtime to set the timeout because it is relative to an a
zos: fix timeout for condition variable The pthread_cond_timedwait requires a timeout relative to the Epoch. So don't use uv__hrtime to set the timeout because it is relative to an arbitrary time in the past. Use gettimeofday instead. PR-URL: https://github.com/libuv/libuv/pull/1711 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jamie Davis <davisjam@vt.edu>
show more ...
|
Revision tags: v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0 |
|
#
ec96b554 |
| 21-Sep-2017 |
Scott Parker |
unix,win: add uv_mutex_init_recursive() Support the creation of recursive mutexes on Unix. A matching API is added on Windows, however mutexes on Windows are always recursive.
unix,win: add uv_mutex_init_recursive() Support the creation of recursive mutexes on Unix. A matching API is added on Windows, however mutexes on Windows are always recursive. Refs: https://github.com/libuv/libuv/issues/1022 PR-URL: https://github.com/libuv/libuv/pull/1555 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1, v1.9.0, v1.8.0, v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0, v0.10.36, v1.4.2, v0.10.35, v1.4.1 |
|
#
7a3af176 |
| 24-Feb-2015 |
Saúl Ibarra Corretgé |
doc: adjust next version to 1.4.1 |
Revision tags: v0.10.34 |
|
#
ff031681 |
| 14-Feb-2015 |
Ben Noordhuis |
unix,windows: make uv_thread_create() return errno Before this commit, UNIX returned -1 on failure. Windows sometimes returned a UV_E* error code and sometimes a bogus status code, cour
unix,windows: make uv_thread_create() return errno Before this commit, UNIX returned -1 on failure. Windows sometimes returned a UV_E* error code and sometimes a bogus status code, courtesy of errno values not mapping to UV_E* error codes on that platform. PR-URL: https://github.com/libuv/libuv/pull/204 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31, v1.0.2, v0.10.30, v1.0.1, v1.0.0 |
|
#
6591d000 |
| 10-Nov-2014 |
Alexis Campailla |
win: fix uv_thread_self() 59658a8de7cc05a58327a164fd2ed4b050f8b4f4 changed uv_thread_self() to return uv_thread_t, but uv_thread_t is a thread's HANDLE while uv_thread_self() returns
win: fix uv_thread_self() 59658a8de7cc05a58327a164fd2ed4b050f8b4f4 changed uv_thread_self() to return uv_thread_t, but uv_thread_t is a thread's HANDLE while uv_thread_self() returns the current thread's id. This means that uv_thread_equal() is also broken, as we are potentially comparing HANDLES to ids. Changed uv_thread_self() to return the current thread's creation handle. Fixed small doc issue.
show more ...
|
Revision tags: v0.10.29, v1.0.0-rc2 |
|
#
59658a8d |
| 05-Oct-2014 |
Tomasz Kołodziejski |
unix, windows: add uv_thread_equal |
Revision tags: v1.0.0-rc1 |
|
#
32e2e75f |
| 06-Sep-2014 |
Saúl Ibarra Corretgé |
doc: add API documentation |