HF RL Explorer

Implement libsync library for Android-style synchronization fences

Implement libsync library for Android-style synchronization fences: a task in LegoFlow-SWE (Harbor dataset). We need a libsync shared library that exposes Android synchronization fence primitives (software‑based timelines, fence creation, waiting, merging, and introspection). The library must be…

The task

We need a `libsync` shared library that exposes Android synchronization fence primitives (software‑based timelines, fence creation, waiting, merging, and introspection). The library must be usable from C and must correctly synchronize multiple threads waiting on the same timeline.

Part of Lego-X/LegoFlow-SWE.