Removed SDL_HINT_THREAD_STACK_SIZE

The stack size can be specified using SDL_CreateThreadWithStackSize()
This commit is contained in:
Sam Lantinga 2024-02-11 18:04:56 -08:00
parent 9e505252c0
commit 9920e062d5
3 changed files with 4 additions and 32 deletions

View file

@ -1917,20 +1917,6 @@ extern "C" {
*/
#define SDL_HINT_THREAD_PRIORITY_POLICY "SDL_THREAD_PRIORITY_POLICY"
/**
* A string specifying SDL's threads stack size in bytes or "0" for the backend's default size
*
* Use this hint in case you need to set SDL's threads stack size to other than the default.
* This is specially useful if you build SDL against a non glibc libc library (such as musl) which
* provides a relatively small default thread stack size (a few kilobytes versus the default 8MB glibc uses).
* Support for this hint is currently available only in the pthread, Windows, and PSP backend.
*
* Instead of this hint, in 2.0.9 and later, you can use
* SDL_CreateThreadWithStackSize(). This hint only works with the classic
* SDL_CreateThread().
*/
#define SDL_HINT_THREAD_STACK_SIZE "SDL_THREAD_STACK_SIZE"
/**
* A variable that controls the timer resolution, in milliseconds.
*