Files
RedBear-OS/local
vasilito 77c9fd5004 drm: upgrade FenceTimeline wait from spin-loop to Condvar-based blocking
Replace busy-wait spin_loop() in FenceTimeline::wait() with
Condvar::wait_timeout(). signal() now calls notify_all() to
wake blocked threads. This turns syncobj_wait from CPU-burning
poll to proper blocking sleep/wake.

Add two new tests:
- test_wait_wakes_on_signal: spawns a thread that signals
  after 10ms, verifies the blocked wait wakes within 1s
- test_wait_timeout_expires: verifies 1ms timeout on an
  unsignaled fence returns an error
2026-06-02 18:56:50 +03:00
..