[AD] Patch to fix race condition

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


This is a rather lazy fix for this particular problem...
Right now loading the system driver loads allegro5.cfg
which tries which tries to open the file which loads
the file interface which initializes pthreads which prints
out a string in debug mode which tries to read a value
from the partially loaded system configuration. The easy
fix is I just commented out that ALLEGRO_DEBUG call,
but perhaps the whole idea is flawed... anyway here's
a patch.


Trent :{)>

Attachment: race.diff
Description: Binary data



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