mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-19 11:18:27 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
parent
fe2880fcda
commit
d529407ce7
2 changed files with 8 additions and 8 deletions
|
@ -3012,11 +3012,11 @@ extern "C" {
|
||||||
* A string specifying additional information to use with
|
* A string specifying additional information to use with
|
||||||
* SDL_SetCurrentThreadPriority.
|
* SDL_SetCurrentThreadPriority.
|
||||||
*
|
*
|
||||||
* By default SDL_SetCurrentThreadPriority will make appropriate system changes in
|
* By default SDL_SetCurrentThreadPriority will make appropriate system
|
||||||
* order to apply a thread priority. For example on systems using pthreads the
|
* changes in order to apply a thread priority. For example on systems using
|
||||||
* scheduler policy is changed automatically to a policy that works well with
|
* pthreads the scheduler policy is changed automatically to a policy that
|
||||||
* a given priority. Code which has specific requirements can override SDL's
|
* works well with a given priority. Code which has specific requirements can
|
||||||
* default behavior with this hint.
|
* override SDL's default behavior with this hint.
|
||||||
*
|
*
|
||||||
* pthread hint values are "current", "other", "fifo" and "rr". Currently no
|
* pthread hint values are "current", "other", "fifo" and "rr". Currently no
|
||||||
* other platform hint values are defined but may be in the future.
|
* other platform hint values are defined but may be in the future.
|
||||||
|
|
|
@ -89,9 +89,9 @@ typedef SDL_AtomicInt SDL_TLSID;
|
||||||
*
|
*
|
||||||
* SDL will make system changes as necessary in order to apply the thread
|
* SDL will make system changes as necessary in order to apply the thread
|
||||||
* priority. Code which attempts to control thread state related to priority
|
* priority. Code which attempts to control thread state related to priority
|
||||||
* should be aware that calling SDL_SetCurrentThreadPriority may alter such state.
|
* should be aware that calling SDL_SetCurrentThreadPriority may alter such
|
||||||
* SDL_HINT_THREAD_PRIORITY_POLICY can be used to control aspects of this
|
* state. SDL_HINT_THREAD_PRIORITY_POLICY can be used to control aspects of
|
||||||
* behavior.
|
* this behavior.
|
||||||
*
|
*
|
||||||
* \since This enum is available since SDL 3.0.0.
|
* \since This enum is available since SDL 3.0.0.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue