Well-behaved routines

The most efficient way for a C UDR to execute is in the CPU virtual-process (CPU VP) class. However, to execute in the CPU VP, the UDR must be well-behaved. A well-behaved UDR adheres to a set of safe-code requirements that prevent the UDR from interfering with the efficient operation of the CPU VP.

Safe-code requirements for a well-behaved UDR summarizes the safe-coding guidelines for a well-behaved UDR. You must ensure that your C UDR follows these guidelines for it to safely execute in the CPU VP class. Otherwise, the UDR must execute in a user-defined VP class. For more information, see Virtual processors.