Review Topic Concurrency And Resource Safety

Load when a diff adds threads/async/background work (ThreadPoolExecutor, threading.Thread, asyncio.Lock, concurrent.futures.Future) or touches torch.jit.load/script, torchscript_state_global_lock, acquire_with_timeout, inference/core/managers/** (add_model/remove_model), on-disk caches/artifacts (inference/core/cache/**, model_artifacts.py, MODEL_CACHE_DIR, FileLock, AtomicPath), or stream resources (inference_pipeline.py terminate, webrtc/modal worker, VideoSource).

roboflow Updated

File contents

roboflow/inference/tree/main/.claude/skills/review-topic-concurrency-and-resource-safety commit e9f0f18c69

Frequently asked questions

npx skillmds@latest add roboflow/review-topic-concurrency-and-resource-safety