Progress
Open Client
Developer’s Guide


Methods For Thread Control

Thread control specifies how multi-threaded requests to the AppServer are handled. These methods are only useful in multi-threaded clients, such as C++. The following methods provide thread control to the Open Client application:

SYNTAX
setWaitIfBusy() 

Waits until all currently executing AppServer requests are complete before executing this request.

SYNTAX
setNoWaitIfBusy() 

Do not wait for a currently executing AppServer request to finish. Instead throw an exception for any AppServer request that is made while the AppServer is executing another request.

SYNTAX
Boolean getWaitIfBusy() 

Checks the thread control setting to determine if WaitIfBusy state is set or cleared. Returns TRUE if setWaitIfBusy()is called and FALSE if setNoWaitIfBusy() is called.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095