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

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


> Sam, would you mind adapting your code to the internal synchronization
> API? The model is src/timer.c (the #ifdef ALLEGRO_MULTITHREADED/#endif
> lines).

Well, there is no such internal synchronization API in the 4.0.x series, only 
in the 4.1.x series...

I've attached the path I commited on mainline. 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.

Should I do it anyway and add the new methods at the end of the structure?

-- 
Eric Botcazou

Attachment: mixer_sync.diff.gz
Description: GNU Zip compressed data



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