Define a yielding user-defined VP class

The VPCLASS configuration parameter creates a yielding user-defined VP by default. You can also use the num option to specify the number of VPs in the yielding user-defined VP class.

The following code fragment defines a yielding user-defined VP class named newvp with three virtual processors.
VPCLASS newvp,num=3               # Yielding VP class with 3 instances

The C user-defined function, GreaterThanEqual(), in the code fragment in Assign a C UDR to a user-defined VP class, executes in the newvp VP class.