I notice there is a section in the tutorials about threads and sfml.
The example is how to use a thread to render on a sfml window.
I presume that this is thread safe?
How safe would be event handling in the same loop? I assume this must be safe, because events must be handled somewhere, whether this be in the main loop or the rendering loop.
This is a question about sfml generally, although I am mostly interested in OpenGL rendering and event processing. How thread safe are these things?
What sort of things are and are not thread safe. If something isn't thread safe, what is likely to be the best way of making it so? (Mutex, atomic operations, etc)