thread: make SDL_CreateThreadWithStackSize() a public API.

This commit is contained in:
Ryan C. Gordon 2018-10-11 16:40:01 -04:00
parent eff5f65096
commit acb05f50d8
5 changed files with 55 additions and 3 deletions

View file

@ -619,6 +619,10 @@ extern "C" {
* 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"