[maemo-developers] sdl application hangs on exit when compiled with g++
From: W. de Hoog wdehoog at exalondelft.nlDate: Sat Jan 2 14:41:15 EET 2010
- Previous message: Where to find sources of gtk+ 2:2.14.7-1maemo15?
- Next message: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, While packaging an SDL application (for diablo) I noticed it could not cleanly exit. After a lot of trial and error a small test program showed me that when compiled with gcc it exits cleanly but when comiled with g++ it hangs when waiting for the audio thread to exit. Any clues on what I can do to fix this problem? Some things I noticed: * The SDL audio thread function does end but the pthread_join for it never ends. * When I recompile SDL to use SDL_KillThread instead of SDL_WaitThread to wait for the end of the audio thread, it does get ended but then hangs on killing the timers. -- Willem-Jan de Hoog
- Previous message: Where to find sources of gtk+ 2:2.14.7-1maemo15?
- Next message: Proposal: Sharing plugin to call command-line apps (e.g. photo sharing via SCP)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]