The RiCOSOXF class defines the operating system-specific actions to take at the end of RiCOXFInit after the environment is set (such as the main thread, timer, and so on) and before the return from the function.
The type definitions depend on the deployment environment. For example, if the type is "long," the type definitions would be as follows:
extern const long RiCOSDefaultStackSize; extern const long RiCOSDefaultMessageQueueSize; extern const long RiCOSDefaultThreadPriority;
However, if the OXF source file is RiCOSWrap.h and you replace PUBLIC with extern, then the type definitions would be as follows:
extern const RiC_StackSizeType RiCOSDefaultStackSize; extern const RiC_MessageQueueSizeType RiCOSDefaultMessageQueueSize; extern const RiC_ThreadPriorityType RiCOSDefaultThreadPriority;