RE: [AD] [UNIX] signals and threads

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


Title: RE: [AD] [UNIX] signals and threads

> > I'm using _xwin.lock_count to remember if we are in a "locked" state
> > or not, regardless of the truth of _unix_bg_man->multi_threaded.  Is
> > that what's surprising?  Or the do/while?
>
> The latter of course.

Makes the macro useable in an if statement with an else.
Depending on how the macro code is done (with if's), the else could
be attributed to the wrong if.
Just braces would not do, due to the stray semicolon.

--
Vincent Penquerc'h



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