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

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


On 2003-09-23, Eric <ebotcazou@xxxxxxxxxx> wrote:
> 
> 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.

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.

(That could probably be considered a bug in the documentation, although
I can't think of many uses, except for the "if (system_driver)" idiom.)

-- 
王浩禎




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