Sync SDL3 wiki -> header

This commit is contained in:
SDL Wiki Bot 2024-10-04 15:58:03 +00:00
parent fe2880fcda
commit d529407ce7
2 changed files with 8 additions and 8 deletions

View file

@ -3012,11 +3012,11 @@ extern "C" {
* A string specifying additional information to use with
* SDL_SetCurrentThreadPriority.
*
* By default SDL_SetCurrentThreadPriority will make appropriate system changes in
* order to apply a thread priority. For example on systems using pthreads the
* scheduler policy is changed automatically to a policy that works well with
* a given priority. Code which has specific requirements can override SDL's
* default behavior with this hint.
* By default SDL_SetCurrentThreadPriority will make appropriate system
* changes in order to apply a thread priority. For example on systems using
* pthreads the scheduler policy is changed automatically to a policy that
* works well with a given priority. Code which has specific requirements can
* override SDL's default behavior with this hint.
*
* pthread hint values are "current", "other", "fifo" and "rr". Currently no
* other platform hint values are defined but may be in the future.

View file

@ -89,9 +89,9 @@ typedef SDL_AtomicInt SDL_TLSID;
*
* SDL will make system changes as necessary in order to apply the thread
* priority. Code which attempts to control thread state related to priority
* should be aware that calling SDL_SetCurrentThreadPriority may alter such state.
* SDL_HINT_THREAD_PRIORITY_POLICY can be used to control aspects of this
* behavior.
* should be aware that calling SDL_SetCurrentThreadPriority may alter such
* state. SDL_HINT_THREAD_PRIORITY_POLICY can be used to control aspects of
* this behavior.
*
* \since This enum is available since SDL 3.0.0.
*/