doc: fix rendering of threading.html (#4716)
This commit is contained in:
parent
f61f9c29d8
commit
feddddb56b
@ -162,6 +162,7 @@ Threads
|
|||||||
.. versionadded:: 1.50.0
|
.. versionadded:: 1.50.0
|
||||||
|
|
||||||
.. c:function:: int uv_thread_setpriority(uv_thread_t tid, int priority)
|
.. c:function:: int uv_thread_setpriority(uv_thread_t tid, int priority)
|
||||||
|
|
||||||
If the function succeeds, the return value is 0.
|
If the function succeeds, the return value is 0.
|
||||||
If the function fails, the return value is less than zero.
|
If the function fails, the return value is less than zero.
|
||||||
Sets the scheduling priority of the thread specified by tid. It requires elevated
|
Sets the scheduling priority of the thread specified by tid. It requires elevated
|
||||||
@ -169,7 +170,9 @@ Threads
|
|||||||
The priority can be set to the following constants. UV_THREAD_PRIORITY_HIGHEST,
|
The priority can be set to the following constants. UV_THREAD_PRIORITY_HIGHEST,
|
||||||
UV_THREAD_PRIORITY_ABOVE_NORMAL, UV_THREAD_PRIORITY_NORMAL,
|
UV_THREAD_PRIORITY_ABOVE_NORMAL, UV_THREAD_PRIORITY_NORMAL,
|
||||||
UV_THREAD_PRIORITY_BELOW_NORMAL, UV_THREAD_PRIORITY_LOWEST.
|
UV_THREAD_PRIORITY_BELOW_NORMAL, UV_THREAD_PRIORITY_LOWEST.
|
||||||
|
|
||||||
.. c:function:: int uv_thread_getpriority(uv_thread_t tid, int* priority)
|
.. c:function:: int uv_thread_getpriority(uv_thread_t tid, int* priority)
|
||||||
|
|
||||||
If the function succeeds, the return value is 0.
|
If the function succeeds, the return value is 0.
|
||||||
If the function fails, the return value is less than zero.
|
If the function fails, the return value is less than zero.
|
||||||
Retrieves the scheduling priority of the thread specified by tid. The value in the
|
Retrieves the scheduling priority of the thread specified by tid. The value in the
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user