Message400471
Simplifying the reproducing example a bit more:
from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor
from time import sleep
def submit(pool):
pool.submit(submit, pool)
if __name__ == '__main__':
pool = ThreadPoolExecutor(1)
pool.submit(submit, pool)
while True:
with ProcessPoolExecutor() as workers:
print('WORK')
workers.submit(sleep, 0.01).result()
print('DONE')
print('OK') |
|
Date |
User |
Action |
Args |
2021-08-28 14:22:16 | 0x0L | set | recipients:
+ 0x0L, pitrou, vstinner, python-dev, iritkatriel |
2021-08-28 14:22:16 | 0x0L | set | messageid: <1630160536.39.0.890536156403.issue45021@roundup.psfhosted.org> |
2021-08-28 14:22:16 | 0x0L | link | issue45021 messages |
2021-08-28 14:22:16 | 0x0L | create | |
|