Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2015-05-31 17:46:25
Size: 1503
Comment: Added Version info.
Revision 3 as of 2016-10-13 20:30:24
Size: 1551
Comment: Updated with content from header file.
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
Support for this hint is currently available only in the pthread backend. Support for this hint is currently available only in the pthread, Windows (>= SDL 2.0.5), and PSP (>= SDL 2.0.5) backend.

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, Windows (>= SDL 2.0.5), and PSP (>= SDL 2.0.5) backend.

Version

This hint is available since SDL 2.0.4.


CategoryDefine, CategoryHints

None: SDL_HINT_THREAD_STACK_SIZE (last edited 2016-10-13 20:30:24 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit