[SDL] SDL_rwops, threads and Android
jonasthiem at googlemail.com
Sat Feb 18 06:45:46 PST 2012
Oh that is horrible :( my code totally depends on this. I really hope it will get fixed soon!
Gabriel Jacobo <gabomdq at gmail.com> wrote:
>2012/2/17 Jonas Thiem <jonasthiem at googlemail.com>
>> I'm currently investigating an Android crash issue when using
>> SDL_rwops->read(...) to access assets. I'm initialising SDL in the
>> thread aswell as creating an SDL_rwops pointer to a file, then I'm
>> 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
>> but to help me investigate the issue an answer to this question would
>> helpful: is SDL_rwops supposed to be thread-safe on Android?
>> Jonas Thiem
>The discussion in this bug report
>http://bugzilla.libsdl.org/show_bug.cgi?id=1159 seems to imply that the
>current Android backend is not thread safe. Please ignore the
>comments in there as that has been already implemented.
>SDL mailing list
>SDL at lists.libsdl.org
More information about the SDL