Threading problems at program exit
maney at pobox.com
maney at pobox.com
Sun Dec 1 22:13:54 EST 2002
Dave Cole <djc at object-craft.com.au> wrote:
> That is an interesting approach. I should have a look at the
> PostgreSQL adapter to see how intrusive the approach is.
Well, there are several of them. I would think this would have been in
psycopg if only because that's the one I ended up choosing to use for
my projects, so I would have been most likely to have looked into it a
bit further than the others.
http://initd.org/software/initd/psycopg
> Anyone developing a multi-threaded application has to be aware of the
> possible deadlock situations. Having said that I suppose I should be
> going out of my way to introduce more opportunities for deadlock :-)
I wouldn't have wanted to say it but, yeah, that's what it sounded
like in this discussion. :-)
Not that you aren't up against a hard problem if you need to provide
the illusion that a finite number of non-sharable connections are an
unbounded number of Cursors that may be left sitting. :-(
More information about the Python-list
mailing list