skip to main content
OpenAccess SDK Service Attributes : Defining Service Attributes : ServiceThreadLockThreshold
 

ServiceThreadLockThreshold

Specifies a percentage of the value of ServiceMaxThreads (see ServiceMaxThreads). When the number of active threads is less than this percentage, a connection that has executed more RPCs than DataSourceThreadMaxRpc on the current thread is allowed to lock this thread for another DataSourceThreadRpcTimeOut period (see DataSourceThreadRpcTimeOut).
This attribute is required when ServiceConnectionModel=Threadpool (see ServiceConnectionModel for more information).

Valid values

From 0 to 50

Default

On Linux, UNIX, and Windows, the default is 0 (the thread switching mechanism is disabled, improving performance in times of low system activity).

Type

Dynamic