*THREADRDY (SETMODE)
PLBWIN or PLBCON Automation Server Only
*THREADRDY={ON | OFF}
The *THREADRDY control sets the current thread state of a PL/B program object running under the automation server. The state indicates the automation program object is ready for connection to a new client.
When the *THREADRDY state is set to OFF, the program object is not ready for connection to another client. When the *THREADRDY state is set to ON, the program object is ready for connection.
The *THREADRDY is used with objects in the Running Objects Table. When a program object is started during the automation server startup process, the *THREADRDY state is set to ON by default. When a program object is connected to a client, the *THREADRDY state is set to OFF. The program object must set the *THREADRDY state to ON when the object has completed its operation and is available for connection to another client.
Note: A program object that was not one of the initially created objects is terminated when the *THREADRDY state is set to ON.
See Also: List Controls (SETMODE), SETMODE
![]() |