RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TService.ServiceThread Property

Identifies the dedicated thread for the service.

Pascal
property ServiceThread: TServiceThread;
C++
__property TServiceThread ServiceThread;

ServiceThread is the instance of the TServiceThread class that is the dedicated thread for the service. Each service in the service application has a dedicated thread that contains a loop in its Execute method for processing service requests. Often a service will spawn a new thread, derived from TThread, to free the service thread to continue processing service requests. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!