If a common LDD component needs to use RTOS adapter, it includes Common\RTOSAdaptor.prg. This includes common RTOS adapter subroutines and also a specific implementation of RTOS adapter for the selected RTOS in the project.