Message341634
Using a default executor could be dangerous because it could lead to deadlocks. For example:
mylib.py
--------
def my_func():
tsubmit(...)
tsubmit(...)
tsubmit(somelib.some_func, ...)
somelib.py
----------
def some_func():
tsubmit(...) # Potential deadlock if no more free threads. |
|
Date |
User |
Action |
Args |
2019-05-06 19:58:00 | bquinlan | set | recipients:
+ bquinlan, ncoghlan |
2019-05-06 19:58:00 | bquinlan | set | messageid: <1557172680.42.0.544815921663.issue23697@roundup.psfhosted.org> |
2019-05-06 19:58:00 | bquinlan | link | issue23697 messages |
2019-05-06 19:58:00 | bquinlan | create | |
|