The docs for SDL_HINT_THREAD_STACK_SIZE state that it is supported on the “pthread, Windows, and PSP” backends. But although my MacOS build does include -pthread when compiling, this hint seems not to have any effect when I create a new thread with SDL_CreateThread(). Am I misunderstanding something?

In general, on what platforms should I expect this hint to be effective? And if it’s not, are there any workarounds? Unfortunately I cannot eliminate recursion in my worker thread.