Re: [AD] Patch to fix race condition

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I didn't read this very carefully, but is this similar to the issue on OS X I fixed a short while back, where trying to set errno (because allegro.cfg isn't found) before TLS was initialised caused some memory corruption (due to an invalid TLS being read back) that sometimes lead to a crash later on?
I fixed that by calling the TLS initialisation routine in the system driver before anything else. There's even a CMake option for it (which was already there).

Evert



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/