mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
Worker thread calls pauseAndSnapshot with an extractor closure; the Pauser posts a frame callback that runs extractors on the main thread and then blocks that thread on a semaphore until release() fires. FrameCallbackPoster abstracts Choreographer so JVM unit tests drive it with a single-thread executor, while the Android runtime uses ChoreographerPoster.