mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-28 03:26:15 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -333,7 +333,8 @@ extern "C" {
|
|||||||
* \returns SDL_APP_FAILURE to terminate with an error, SDL_APP_SUCCESS to
|
* \returns SDL_APP_FAILURE to terminate with an error, SDL_APP_SUCCESS to
|
||||||
* terminate with success, SDL_APP_CONTINUE to continue.
|
* 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.
|
* \since This function is available since SDL 3.2.0.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -380,7 +380,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_TryLockMutex(SDL_Mutex *mutex) SDL_TRY_ACQU
|
|||||||
*
|
*
|
||||||
* \param mutex the mutex to unlock.
|
* \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.
|
* \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.
|
* \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.
|
* \since This function is available since SDL 3.2.0.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -461,8 +461,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetCurrentThreadPriority(SDL_ThreadPriority
|
|||||||
* function by its 'return', or -1 if the thread has been
|
* function by its 'return', or -1 if the thread has been
|
||||||
* detached or isn't valid, may be NULL.
|
* detached or isn't valid, may be NULL.
|
||||||
*
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread, but only
|
* \threadsafety It is safe to call this function from any thread, but only a
|
||||||
* a single thread can wait any specific thread to finish.
|
* single thread can wait any specific thread to finish.
|
||||||
*
|
*
|
||||||
* \since This function is available since SDL 3.2.0.
|
* \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.
|
* 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
|
* \param thread the SDL_Thread pointer that was returned from the
|
||||||
* SDL_CreateThread() call that started this thread.
|
* 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.
|
* \since This function is available since SDL 3.2.0.
|
||||||
*
|
*
|
||||||
* \sa SDL_CreateThread
|
* \sa SDL_CreateThread
|
||||||
|
|||||||
Reference in New Issue
Block a user