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

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


> I don't like (2) at all.  (1) seems fine.

Agreed.

> Tacking on methods to the back of system_driver seems like it could be
> ok (though I agree that it's not the safest route).  What problems do
> you anticipate, exactly?  That the compiler might reorder the system
> driver structure?

Oh no! Simply that the SYSTEM_DRIVER type and the system_driver object are 
declared in system.h, so I think we are commited to preserving both.

-- 
Eric Botcazou




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