Control of the Virtual-Processor environment (Server)

The DataBlade® API provides functions for controlling the Virtual-Processor (VP) environment within a user-defined routine (UDR).

Table 1. DataBlade API functions for controlling the VP environment within a UDR

Function category DataBlade API function DataBlade API function
Controlling the VP environment VP information:

mi_vpinfo_classid()
mi_vpinfo_isnoyield()
mi_vpinfo_vpid()

Locking a UDR to a VP:

mi_module_lock()
mi_udr_lock()

VP-class information:

mi_class_id()
mi_class_maxvps()
mi_class_name()
mi_class_numvp()

Changing the VP environment:

mi_call_on_vp()
mi_process_exec()

Important: These advanced functions can adversely affect your UDR if you use them incorrectly. Use them only when no regular DataBlade API functions can perform the tasks you need done.