Define a nonyielding user-defined VP class
To create a nonyielding user-defined VP, include the noyield option of the VPCLASS configuration parameter. You can also use the num option to specify the number of VPs in the nonyielding user-defined VP class.
Tip: The noyield option
is ignored for predefined virtual-processor classes such as CPU and
AIO. For more information about the VPCLASS configuration parameter,
see the HCL
Informix® Administrator's Reference.
The following code fragment defines the nonyielding user-defined
VP class named nonyield_vp with two VPs in the
class.
VPCLASS nonyield_vp, num=2, noyield # Nonyielding VP class
At run time you can determine whether the VP on which a UDR is running is part of a nonyielding user-defined VP class with the mi_vpinfo_isnoyield() function. For more information, see Obtain VP-environment information.