SDL/src/thread
Ryan C. Gordon e23257307e Introduce formal policy for APIs that return strings.
This declares that any `const char *` returned from SDL is owned by SDL, and
promises to be valid _at least_ until the next time the event queue runs, or
SDL_Quit() is called, even if the thing that owns the string gets destroyed
or changed before then.

This is noted in the headers as "the SDL_GetStringRule", so this will both be
greppable to find a detailed explaination in docs/README-strings.md and
wikiheaders will automatically turn it into a link we can point at the
appropriate documentation.

Fixes #9902.

(and several FIXMEs, both known and yet-undocumented.)
2024-06-03 14:20:49 -04:00
..
generic thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
n3ds thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
ngage thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
ps2 thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
psp thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
pthread thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
stdcpp thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
vita thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
windows thread: Reworked SDL_CreateThread to be consistent across platforms. 2024-05-22 11:39:43 -04:00
SDL_systhread.h thread: SDL_CreateThreadWithStackSize is now SDL_CreateThreadWithProperties. 2024-05-22 11:39:43 -04:00
SDL_thread.c Introduce formal policy for APIs that return strings. 2024-06-03 14:20:49 -04:00
SDL_thread_c.h Fixed warning C4152: nonstandard extension, function/data pointer conversion in expression 2024-01-19 06:49:53 -08:00