[Twisted-Python] Creating a COM object in a thread

Itamar Turner-Trauring itamar at itamarst.org
Mon Jun 28 21:17:57 EDT 2010

On Mon, 2010-06-28 at 17:43 -0700, Don Dwiggins wrote:

> What this probably means in practice is that twisted needs to use a 
> reactor which calls MsgWaitForMultipleObjects() and runs a message loop 
> when the function detects a new message is in the queue.  I'm not sure 
> if there is an existing reactor which does this."

win32eventreactor uses WaitForMultipleObjects, so could probably be
modified quite simply to support this. It's also vaguely possible you
could use the more scalable IOCP reactor, but someone with more win32
knowledge than I should comment on that.

More information about the Twisted-Python mailing list