We've decided to keep separate functions for creating a thread with and without stack size specified.

Fixes https://github.com/libsdl-org/SDL/issues/6652
This commit is contained in:
Sam Lantinga 2024-01-18 06:11:55 -08:00
parent a2665f54c8
commit 26996e2c02

View File

@ -220,10 +220,6 @@ SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data);
* multiple of the system's page size (in many cases, this is 4 kilobytes, but
* check your system documentation).
*
* In SDL 2.1, stack size will be folded into the original SDL_CreateThread
* function, but for backwards compatibility, this is currently a separate
* function.
*
* \param fn the SDL_ThreadFunction function to call in the new thread
* \param name the name of the thread
* \param stacksize the size, in bytes, to allocate for the new thread stack.