diff --git a/blockbuster/blockbuster.py b/blockbuster/blockbuster.py index 72f39ff..93aeac0 100644 --- a/blockbuster/blockbuster.py +++ b/blockbuster/blockbuster.py @@ -589,6 +589,7 @@ def lock_acquire_exclude( ("threading.py", {"start"}), ("/pydevd.py", {"_do_wait_suspend"}), ("asyncio/base_events.py", {"shutdown_default_executor"}), + ("concurrent/futures/thread.py", {"submit"}), ], scanned_modules=modules, excluded_modules=excluded_modules, @@ -597,7 +598,10 @@ def lock_acquire_exclude( _thread.LockType, "acquire_lock", can_block_predicate=lock_acquire_exclude, - can_block_functions=[("threading.py", {"start"})], + can_block_functions=[ + ("threading.py", {"start"}), + ("concurrent/futures/thread.py", {"submit"}), + ], scanned_modules=modules, excluded_modules=excluded_modules, ),