Can I call SDL video functions from multiple threads?

No, most graphics back ends are not thread-safe, so you should only call SDL video functions from the main thread of your application.

For example, on Mac OS X operations on the underlying NSView class must happen in the main thread: http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaSafety.html#//apple_ref/doc/uid/20000736-123351-BBCFIIEB

FAQ_Function_calls_from_multiple_threads (last edited 2008-04-17 08:18:35 by localhost)