Browse Source

Sync SDL3 wiki -> header

SDL Wiki Bot 6 months ago
parent
commit
d529407ce7
2 changed files with 8 additions and 8 deletions
  1. 5 5
      include/SDL3/SDL_hints.h
  2. 3 3
      include/SDL3/SDL_thread.h

+ 5 - 5
include/SDL3/SDL_hints.h

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

+ 3 - 3
include/SDL3/SDL_thread.h

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