Wiki Page Content

Revision 1 as of 2015-05-31 17:44:49

Clear message

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.


CategoryDefine, CategoryHints

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