mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-19 03:08: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
|
||||
* 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.
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue