|
⇤ ← Revision 1 as of 2015-05-31 17:44:49
Size: 1443
Comment: Created page using content from header file.
|
Size: 1503
Comment: Added Version info.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 37: | Line 37: |
| == Version == This hint is available since SDL 2.0.4. |
DRAFT |
SDL_HINT_THREAD_STACK_SIZE
A hint that specifies a variable specifying SDL's threads stack size in bytes or "0" for the backend's default size.
Values
0 |
use the backend's default threads stack size |
X |
use the provided positive threads stack size |
Default
By default the backend's default threads stack size is used.
Code Examples
You can add your code example here
Remarks
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 8 MB glibc uses).
Support for this hint is currently available only in the pthread backend.
Version
This hint is available since SDL 2.0.4.
