ArduinoCore-API
ArduinoCore-API copied to clipboard
Instead of using a counter, we use the head and tail markers
Instead of using a counter, we use the head and tail markers to determine the number of elements. This makes it thread-safe, as the head and tail are only modified by one thread