Dominique wrote:
> I am using delayedresult (which is a class to do threading in
> wxPython) for a query with SQLAlchemy, using SQLite.
> 
> I have an 'opened' session in the main App thread.
> 
> I create another session under the delayedresult thread.
> When I try to stop this thread with a dedicated button, the thread
> doesn't abort and goes on till it sends the result.

As Python has no way to actually terminate a thread, can you explain 
what you mean by "stop this thread"?  Are you simply cloning the code 
from the wxPython example, with the delayedresult.AbortEvent() object, 
and calling .set() on it?

-Peter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to