Dispatching a Win32 COM in the background?
Peter Hansen
peter at engcorp.com
Fri Jun 21 09:30:36 EDT 2002
David LeBlanc wrote:
>
> Hmmm... if this is working for you, that's great - it just looks strange to
> me.
>
> If Background_TTS is the background speacher thread, shouldn't it have the
> queue.get() in it and the foreground have the queue.put()?
>
> It's also worth noting that self isn't used or needed at the global level,
> so self.speech is kind of different ;-)
I'm pretty sure from previous postings he was going to call this from
within another object, so the "self." used elsewhere might refer to it.
As near as I can tell, with that in mind, the .get() and .put() are in
exactly the right places.
-Peter
More information about the Python-list
mailing list