diff --git a/include/SDL3/SDL_main.h b/include/SDL3/SDL_main.h index ee4d9ca717..bbc4aae118 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 e477e2d30d..29e8f1a1c7 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 f74317cc69..1842c035f7 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