Category: Bare-Metal Code


  • We use this C++ circular queue class in our C++ Ring Buffer Class (coming soon) that performs buffering of audio/video data streams. The underlying data transport layer is usually UDP over sockets. These programs are usually multi-threaded, using thread synchronization techniques (such as <semaphore>) to manage write/read of the data across threads. We restrict the…