[SDL] SDL 1.3 roadmap...

Sami Näätänen sn.ml at bayminer.com
Wed Oct 10 12:18:11 PDT 2007


On Wednesday 10 October 2007, Ross Smith wrote:
> One thing I'd like to know about SDL 1.3: Is it going to finally
> remove the restriction that SDL functions can only be called from the
> main thread? SDL's strong orientation to an old-fashioned,
> single-threaded, event-driven architecture is the reason I'm
> currently investigating alternative libraries. It's just getting more
> and more painful trying to reconcile SDL with a heavily multithreaded
> application.
>
> I could live with restricting all SDL calls to a single thread if I
> had to, if only it didn't have to be the main thread. Is there any
> prospect of some relief on the horizon?

Well you can make another thread as the main thread. No one is forcing 
you to consider the thread that can access SDL as the main thread.

I think that due to the modern HW SDL should provide more support for 
multithreadded applications. This should be through API calls, so that 
single threaded aplications don't suffer from the support.

I think there are people like you who are much better at answering what 
kind of API that should be.


More information about the SDL mailing list