I’m currently investigating an Android crash issue when using
SDL_rwops->read(…) to access assets. I’m initialising SDL in the main
thread aswell as creating an SDL_rwops pointer to a file, then I’m spawning
an extra thread and reading the SDL_rwops from there where it crashes. On a
linux desktop the same code works fine. The mistake might be my own code,
but to help me investigate the issue an answer to this question would be
helpful: is SDL_rwops supposed to be thread-safe on Android?
I’m currently investigating an Android crash issue when using
SDL_rwops->read(…) to access assets. I’m initialising SDL in the main
thread aswell as creating an SDL_rwops pointer to a file, then I’m spawning
an extra thread and reading the SDL_rwops from there where it crashes. On a
linux desktop the same code works fine. The mistake might be my own code,
but to help me investigate the issue an answer to this question would be
helpful: is SDL_rwops supposed to be thread-safe on Android?