Re: The idle loop issue


Subject: Re: The idle loop issue
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Thu Sep 06 2001 - 15:45:14 CDT


According to Patrick Lam <plam@plam.lcs.mit.edu>:
>
> > #ifdef USING_IDLES
> > UT_Worker * checker = new UT_Idle ();
> > #else // USING_TIMERS
> > UT_Worker * checker = new UT_Timer (SPELLCHECK_MILLISECONDS);
> > #endif
>
> Again, this could be done at the factory method.

Agreed. I'm tempted to refactor some XP code for that too...

Hub



This archive was generated by hypermail 2b25 : Thu Sep 06 2001 - 15:45:25 CDT