From: Ian Bicking <ianb@co...> - 2005-04-01 16:47:44
Denis Menshikov wrote:
> I don't understand the following thing.
> DBAPI.getConnection uses _poolLock, but DBAPI.releaseConnection doesn't use _poolLock. Why?
It's bad if two queries use the same connection at the same time, but
there's no conflict when they are returning connections -- list.append
is atomic, and it doesn't matter what order the connections go into the
Ian Bicking / ianb@... / http://blog.ianbicking.org