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

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


On 2003-09-25, Eric <ebotcazou@xxxxxxxxxx> wrote:
> > Well, not necessarily.  The internal details of SYSTEM_DRIVER should be
> > off limits to the user; system_driver should be considered as an opaque
> > pointer.  Neither SYSTEM_DRIVER nor system_driver are mentioned at all
> > in the documentation.
> 
> Yes, this was probably the original intent, which was defeated by the 
> limitations of the C programming language. Anyway, I'd rather be 
> conservative in this matter.

Ok.

> Does the attached patch sound sensible to you?

Looks fine.  An extra comment explaining the purpose of the
SYSTEM_DRIVER_AUX would be nice.

-- 
王浩禎




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