📄️ Workers
HoloMIT SDK provides a flexible and extensible multi-threading system to offload performance-intensive operations from Unity’s main thread. At the core of this system is the BaseWorker class, which allows developers to implement long-running or recurring tasks in a separate thread, safely and efficiently.
📄️ Thread-Safe Queues
In the HoloMIT SDK, high-performance data flow between producer and consumer threads is handled using a custom QueueThreadSafe class. This system ensures thread-safe access to shared data buffers (e.g., frames, audio chunks, messages) without blocking the Unity main thread.