From 82f48be3ef24f281f3aaa9a64a9665251a328f75 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Thu, 26 Oct 2023 12:58:14 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_mutex.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/SDL3/SDL_mutex.h b/include/SDL3/SDL_mutex.h index 7dd150259..a87fce877 100644 --- a/include/SDL3/SDL_mutex.h +++ b/include/SDL3/SDL_mutex.h @@ -378,10 +378,10 @@ extern DECLSPEC void SDLCALL SDL_LockRWLockForWriting(SDL_RWLock *rwlock) SDL_AC * Trying to lock for read-only access can succeed if other threads are * holding read-only locks, as this won't prevent access. * - * This function does not fail; if rwlock is NULL, it will return 0 immediately - * having locked nothing. If rwlock is valid, this function will always - * either lock the rwlock and return 0, or return SDL_RWLOCK_TIMEOUT and lock - * nothing. + * This function does not fail; if rwlock is NULL, it will return 0 + * immediately having locked nothing. If rwlock is valid, this function will + * always either lock the rwlock and return 0, or return SDL_RWLOCK_TIMEOUT + * and lock nothing. * * \param rwlock the rwlock to try to lock * \returns 0 or `SDL_RWLOCK_TIMEDOUT` @@ -412,10 +412,10 @@ extern DECLSPEC int SDLCALL SDL_TryLockRWLockForReading(SDL_RWLock *rwlock) SDL_ * read-only lock. Doing so results in undefined behavior. Unlock the * read-only lock before requesting a write lock. * - * This function does not fail; if rwlock is NULL, it will return 0 immediately - * having locked nothing. If rwlock is valid, this function will always - * either lock the rwlock and return 0, or return SDL_RWLOCK_TIMEOUT and lock - * nothing. + * This function does not fail; if rwlock is NULL, it will return 0 + * immediately having locked nothing. If rwlock is valid, this function will + * always either lock the rwlock and return 0, or return SDL_RWLOCK_TIMEOUT + * and lock nothing. * * \param rwlock the rwlock to try to lock * \returns 0 or `SDL_RWLOCK_TIMEDOUT`