Workers run in different threads and the backends can poll whether the worker is currently busy or not. However the previous iteration has the worker (and an atomic int) provide the busy state which could easily desync with the main thread (since all workers run in different threads). By holding the busy states in the main thread, the main thread will always be able to poll the busy state accurately.
Olive Video Editor

Olive is a free non-linear video editor for Windows, macOS, and Linux.
Discover more: Website | Twitter | Discord | Code Documentation
NOTE: The issue tracker is temporarily closed while Olive's core is getting rewritten. We apologize for any inconvenience. Please check back soon for the next release, as well as the Patreon page for news and updates.
Getting Started with Olive:
Installation of Olive is available at: https://olivevideoeditor.org/download.php
Instructions on how to use Olive are available on our wiki: https://github.com/olive-editor/olive/wiki/Overview-Guide
NOTE: Olive is Alpha Software, and it should be treated as highly unstable. Work at your own risk.
Support Olive:
Please consider supporting Olive:
NOTE: It is strongly discouraged to use or compile the master branch in its current state as it's under heavy restructuring. Please use the 0.1.x code from the "Releases" tab instead.
Compiling from Source:
Compiling instructions for Windows, macOS, and Linux can be found on the main site.
Olive has Doxygen-compatible documentation hosted at http://olivevideoeditor.org/doxygen/. You can also run doxygen in the source root directory to generate a local copy.

