Re: [AD] X shutdown sequence

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


On Tue, Nov 20, 2001 at 01:10:18PM +1100, Peter Wang wrote:
> +   /* Oh gawd, what is that smell?  */
> +   int locking = 1;
> +#ifdef HAVE_LIBPTHREAD
> +   if (_unix_bg_man == &_bg_man_pthreads)
> +      locking = 0;
> +#endif

Isn't this equivalent to testing _unix_bg_man->multi_threaded?
That's what it's there for. :)

George



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