There are several types of Open Server threads. The SRV_T_TYPE thread property indicates the type of thread. An application can retrieve the thread’s type by calling srv_thread_props with property set to SRV_T_TYPE and cmd set to CS_GET.
Table 2-30 identifies the legal thread types:
Value |
Thread type |
---|---|
SRV_TCLIENT |
A client thread |
SRV_TSITE |
A site handler thread |
SRV_TSUBPROC |
A remote server connection over a site handler thread |
SRV_TSERVICE |
A service thread |
See “Multithread programming” for more information about thread types.