Killing threads (was Re: Cancel or timeout a long running regular expression)
nobody at nowhere.com
Mon Sep 19 23:54:49 CEST 2011
On Sun, 18 Sep 2011 23:41:29 -0600, Ian Kelly wrote:
>> If the transaction object doesn't get its commit() called, it does no
>> actions at all, thus eliminating all issues of locks.
> And what if the thread gets killed in the middle of the commit?
The essence of a commit is that it involves an atomic operation, for which
there is no "middle".
More information about the Python-list