Refactoring: RTThreadBuffer inheriting from ThreadBuffer