Rename SDL_SetThreadPriority() to SDL_SetCurrentThreadPriority()

Fixes https://github.com/libsdl-org/SDL/issues/11055
This commit is contained in:
Sam Lantinga
2024-10-04 08:57:03 -07:00
parent 69196ab30d
commit fe2880fcda
17 changed files with 30 additions and 22 deletions

View File

@@ -2028,6 +2028,7 @@ SDL_CreateThread and SDL_CreateThreadWithProperties now take beginthread/endthre
SDL_GetTLS() and SDL_SetTLS() take a pointer to a TLS ID, and will automatically initialize it in a thread-safe way as needed.
The following functions have been renamed:
* SDL_SetThreadPriority() => SDL_SetCurrentThreadPriority()
* SDL_TLSCleanup() => SDL_CleanupTLS()
* SDL_TLSGet() => SDL_GetTLS()
* SDL_TLSSet() => SDL_SetTLS(), returns bool