Vcl.SvcMgr.TService.ServiceThread

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ServiceThread: TServiceThread read FServiceThread;

C++

__property TServiceThread* ServiceThread = {read=FServiceThread};

Properties

Type Visibility Source Unit Parent
property public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr TService

Description

Identifies the dedicated thread for the service.

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.

See Also