mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 15:39:10 +00:00
Stack hint should look for 0, not -1, and not care about environment variables.
This commit is contained in:
parent
a8fa7bd1f7
commit
baea64e642
4 changed files with 5 additions and 13 deletions
|
@ -350,13 +350,12 @@ extern "C" {
|
|||
|
||||
|
||||
/**
|
||||
* \brief A string specifying SDL's threads stack size in bytes or "-1" for the backend's default size
|
||||
* \brief 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 currenly available only in the pthread backend.
|
||||
* As a precaution, this hint can not be set via an environment variable.
|
||||
*/
|
||||
#define SDL_HINT_THREAD_STACK_SIZE "SDL_THREAD_STACK_SIZE"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue