HF RL Explorer

When using the multithreaded compression context, resetting or reusing the context after an operation (e.g…

When using the multithreaded compression context, resetting or reusing the context after an operation (e.g…: a task in LegoFlow-SWE (Harbor dataset). When the context is later reused, operations that lock or signal the corrupted mutex / cond (via ZSTD pthread mutex lock , ZSTD pthread cond signal…

The task

When the context is later reused, operations that lock or signal the corrupted `mutex` / `cond` (via `ZSTD_pthread_mutex_lock`, `ZSTD_pthread_cond_signal`, `ZSTD_pthread_cond_wait`, etc.) trigger heap corruption, deadlocks, or crashes. Additionally, the proper destruction functions (`ZSTD_pthread_mutex_destroy` and…

Part of Lego-X/LegoFlow-SWE.