event loop problem

Toby Dickenson mbel44 at dial.pipex.net
Tue Oct 24 11:42:01 EDT 2000


Geoff Talvola <gtalvola at nameconnector.com> wrote:

>For a single-threaded Python program using ADO, there's no shared data to worry
>about.  And what if your program structure contains long-running calculations
>based on data from your ADO database?  You have to contort your calculations to
>insert PumpWaitingMessages() calls everywhere.  A single-threaded, non-GUI
>application shouldn't have to have a message loop, IMO.

Threads that use apartment-model COM must have a message loop - thats
a rule imposed by that threading model.

If you dont want a message loop, there are plenty of other COM
threading models to choose from.


Toby Dickenson
tdickenson at geminidataloggers.com



More information about the Python-list mailing list