SVGAlib didn't work with threaded sound or timers

Hi,

I noticed this in my latest tests with SDL 1.0.8.
Perhaps it is already fixed with 1.1.XX?

SVGAlib didn’t work together with threads (Problem is here the sound).
This could be handled by configure, don’t allow SVGAlib and threads.
SVGAlib didn’t work together with timers. (Alarm timer problem).
This could be an intialitation order problem. My own code which setup
the timers after SVGAlib works.

Bye,
Johns–
Become famous, earn no money, create graphics for FreeCraft.

http://FreeCraft.Org - A free fantasy real-time strategy game engine
http://fgp.cjb.net - The FreeCraft Graphics Project

Hi,

I noticed this in my latest tests with SDL 1.0.8.
Perhaps it is already fixed with 1.1.XX?

SVGAlib didn’t work together with threads (Problem is here the sound).

This is a known problem with some versions of pthreads and SVGAlib.
I think if you upgrade your glibc to 2.1 this is fixed, but I’m not
sure. The fork hack for sound isn’t very clean and hasn’t been tested
in a while.

This could be handled by configure, don’t allow SVGAlib and threads.
SVGAlib didn’t work together with timers. (Alarm timer problem).
This could be an intialitation order problem. My own code which setup
the timers after SVGAlib works.

You probably need to disable threads with SVGAlib on your system.
This configuration hasn’t been tested in a while, so if you need to
patch SDL, please send me the updates so I can incorporate them into
the newest SDL.

Thanks,
-Sam Lantinga, Lead Programmer, Loki Entertainment Software