Re: [AD] END_OF_MAIN removal patch for msvc

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


On Tue, 2008-11-18 at 16:41 -0700, Thomas Fjellstrom wrote:
> On November 18, 2008, Stefanos A. wrote:
> >
> > Would this solve the problem? Is this worth it when compared to the
> > END_OF_MAIN hack? Any catches?
> 
> Thats what END_OF_MAIN does on OSX.. But that api might not play nice with X 
> or Windows...

Any reason to hide this from the user? This is how modern operating
systems work, the single process / single thread / no reentrancy model
of DOS no longer holds.

This code works fine on X11 and Win32 (simply raise the callback
whenever you hit an idle event). Unless you were referring to something
else entirely...?





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