Commit 30581be1 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c558ef96
...@@ -274,6 +274,10 @@ class tDB: ...@@ -274,6 +274,10 @@ class tDB:
def _abort_ontimeout(t, dt): def _abort_ontimeout(t, dt):
# XXX better run whole this function withou GIL - if a code that is
# holding GIL will access wcfs-mmapped memory, and wcfs will send pin,
# but pin handler is failing one way or another - select will wake-up
# but won't continue to run trying to lock GIL -> deadlock.
_, _rx = select( _, _rx = select(
time.after(dt).recv, # 0 time.after(dt).recv, # 0
t._closed.recv, # 1 t._closed.recv, # 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment