From 72ed7d0f8715f8dbfb0c8dcd4103cd92c9573c72 Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Thu, 19 Feb 2026 00:52:16 +0000
Subject: [PATCH] Sync SDL3 wiki -> header
[ci skip]
---
include/SDL3/SDL_main.h | 3 ++-
include/SDL3/SDL_mutex.h | 6 ++++--
include/SDL3/SDL_thread.h | 8 ++++----
3 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/include/SDL3/SDL_main.h b/include/SDL3/SDL_main.h
index ee4d9ca717063..bbc4aae1181a0 100644
--- a/include/SDL3/SDL_main.h
+++ b/include/SDL3/SDL_main.h
@@ -333,7 +333,8 @@ extern "C" {
* \returns SDL_APP_FAILURE to terminate with an error, SDL_APP_SUCCESS to
* terminate with success, SDL_APP_CONTINUE to continue.
*
- * \threadsafety This function is called once by SDL, at startup, on a single thread.
+ * \threadsafety This function is called once by SDL, at startup, on a single
+ * thread.
*
* \since This function is available since SDL 3.2.0.
*
diff --git a/include/SDL3/SDL_mutex.h b/include/SDL3/SDL_mutex.h
index e477e2d30df09..29e8f1a1c7b04 100644
--- a/include/SDL3/SDL_mutex.h
+++ b/include/SDL3/SDL_mutex.h
@@ -380,7 +380,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_TryLockMutex(SDL_Mutex *mutex) SDL_TRY_ACQU
*
* \param mutex the mutex to unlock.
*
- * \threadsafety This call must be paired with a previous locking call on the same thread.
+ * \threadsafety This call must be paired with a previous locking call on the
+ * same thread.
*
* \since This function is available since SDL 3.2.0.
*
@@ -627,7 +628,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_TryLockRWLockForWriting(SDL_RWLock *rwlock)
*
* \param rwlock the rwlock to unlock.
*
- * \threadsafety This call must be paired with a previous locking call on the same thread.
+ * \threadsafety This call must be paired with a previous locking call on the
+ * same thread.
*
* \since This function is available since SDL 3.2.0.
*
diff --git a/include/SDL3/SDL_thread.h b/include/SDL3/SDL_thread.h
index f74317cc69910..1842c035f71f9 100644
--- a/include/SDL3/SDL_thread.h
+++ b/include/SDL3/SDL_thread.h
@@ -461,8 +461,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetCurrentThreadPriority(SDL_ThreadPriority
* function by its 'return', or -1 if the thread has been
* detached or isn't valid, may be NULL.
*
- * \threadsafety It is safe to call this function from any thread, but only
- * a single thread can wait any specific thread to finish.
+ * \threadsafety It is safe to call this function from any thread, but only a
+ * single thread can wait any specific thread to finish.
*
* \since This function is available since SDL 3.2.0.
*
@@ -512,11 +512,11 @@ extern SDL_DECLSPEC SDL_ThreadState SDLCALL SDL_GetThreadState(SDL_Thread *threa
*
* It is safe to pass NULL to this function; it is a no-op.
*
- * \threadsafety It is safe to call this function from any thread.
- *
* \param thread the SDL_Thread pointer that was returned from the
* SDL_CreateThread() call that started this thread.
*
+ * \threadsafety It is safe to call this function from any thread.
+ *
* \since This function is available since SDL 3.2.0.
*
* \sa SDL_CreateThread