Re: [AD] (still) a race condition in mixer.c

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


> Now what to do on the 4.0 branch? Backporting the internal API means
> modifying the system_driver object, which is part of the ABI through
> several inline functions.

I think that modifying system_driver is too risky. So I can think of two 
options:

(1) adding a system_driver clone, which would only have the 4 methods of the 
synchronization API (with a kludge in order not to be exported by the DLL),

(2) applying Sam's patch as is, on the ground that all ports in the 4.0.x 
series use pthreads except the Windows port, but the default sound driver of 
that port doesn't use the mixer.

Which one seems to be the most sensible?

-- 
Eric Botcazou




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