On Mon, Sep 19, 2011 at 3:41 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > And what if the thread gets killed in the middle of the commit? >
Database managers solved this problem years ago. It's not done by preventing death until you're done - death can come from someone brutally pulling out your power cord. There's no "except PowerCordRemoved" to protect you from that! There are various ways, and I'm sure one of them will work for whatever situation is needed. ChrisA -- http://mail.python.org/mailman/listinfo/python-list