SDL_Quit from other thread

Is it possible (or safe) to call SDL_Quit from another thread other than
the main one?

I suspect not - the program I’m currently working on has a ‘small’ halting
problem and I setup a secondary thread to sort of debug and shutdown…
and it drops back to textmode and nicely recovers video, but does not exit

  • and it coredumps moments later… (due to the bug in the code I haven’t
    found yet) - yes this is my playing with the apple emulator…

hrm - ideas? suggestions?

G’day, eh? :slight_smile:
- Teunis

Is it possible (or safe) to call SDL_Quit from another thread other than
the main one?
[clip]

Oh I’m a fool. I forgot that SDL_Quit() doesn’t exit()… silly me…
but now I’ve moved all the SDL-related stuff into a seperate thread from
the emu… Seems to help some g.

G’day, eh? :slight_smile:
- TeunisOn Mon, 27 Aug 2001, winterlion wrote: