I want to use SDL video functions from within other threads accessing the
same set of surfaces. Is this possible? I assume that there’s no MT
locking in place at the moment (?) and that I could implement my own using
SDL’s existing mutex functions.
But would that even work? I’d need to share SDL’s surfaces between multiple
threads and the main thread - can I designate all of SDL’s internal memory
structures as sharable across many threads without hacking SDL itself?
I’d just like a pointer from someone who knows a bit more about SDL’s threads
and threads in general as to wether I can do this already, or work around
current SDL, or wether I’d have to tweak SDL’s source.
Hmmmm, any thoughts appreciated.
ttfn,
John