Renamed crossThreadRingBuffer functions to use CBRT prefix and updated header