summaryrefslogtreecommitdiff
path: root/tests/test_async.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-06-05 16:22:54 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2011-06-05 16:22:54 +0100
commit8f876d4b5d26a4e618d0cdcb2189b5ee3abf97c6 (patch)
treeef5ff2250178d2f0a937f103174ea3ae22fd2796 /tests/test_async.py
parentdcc9e84a68a0aa446b924c308a81605d57965859 (diff)
downloadpsycopg2-8f876d4b5d26a4e618d0cdcb2189b5ee3abf97c6.tar.gz
Avoid a deadlock using concurrent green threads on the same connection
Use the async_cursor property to store an indication that something is running (even if it is not necessarily a cursor running the query).
Diffstat (limited to 'tests/test_async.py')
0 files changed, 0 insertions, 0 deletions