SDL_ExitThread()?

Hi!
I wonder why there is no SDL_ExitThread() function… is there any OS
supported by SDL which doesn’t support exit() for threads?

– blight

exit() exits the application, not a single thread.On Fri, Jul 12, 2002 at 03:17:24PM +0200, Gregor Anich wrote:

Hi!
I wonder why there is no SDL_ExitThread() function… is there any OS
supported by SDL which doesn’t support exit() for threads?

– blight


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

that’s why i said “like exit() for threads”…On Fri, 12 Jul 2002 18:09:05 +0200, Martin Donlon wrote:

exit() exits the application, not a single thread.

On Fri, Jul 12, 2002 at 03:17:24PM +0200, Gregor Anich wrote:

Hi!
I wonder why there is no SDL_ExitThread() function… is there any OS
supported by SDL which doesn’t support exit() for threads?

– blight
_______________________________________________ SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Sorry, I was (literally) just awake when I replied.On Fri, Jul 12, 2002 at 11:22:37PM +0200, Gregor Anich wrote:

that’s why i said “like exit() for threads”…

On Fri, 12 Jul 2002 18:09:05 +0200, Martin Donlon wrote:

exit() exits the application, not a single thread.

On Fri, Jul 12, 2002 at 03:17:24PM +0200, Gregor Anich wrote:

Hi!
I wonder why there is no SDL_ExitThread() function… is there any OS
supported by SDL which doesn’t support exit() for threads?

– blight
_______________________________________________ SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi!
I wonder why there is no SDL_ExitThread() function… is there any OS
supported by SDL which doesn’t support exit() for threads?

SDL does some internal cleanup work when you return from the thread function,
which it can’t do if the thread up and goes away. :slight_smile:

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment