mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:29:14 +02:00
* Removed unused private procedure ThreadTerminated
* Send control codes to daemon thread, solves problems responding to external signals git-svn-id: trunk@13013 -
This commit is contained in:
parent
284f689c5d
commit
1ff5458a91
@ -122,7 +122,6 @@ Type
|
|||||||
FSysData : TObject;
|
FSysData : TObject;
|
||||||
FParams : TStrings;
|
FParams : TStrings;
|
||||||
FCheckPoint : DWord;
|
FCheckPoint : DWord;
|
||||||
procedure ThreadTerminated(Sender: TObject);
|
|
||||||
Public
|
Public
|
||||||
Constructor Create(AOwner : TComponent); override;
|
Constructor Create(AOwner : TComponent); override;
|
||||||
Destructor Destroy; override;
|
Destructor Destroy; override;
|
||||||
|
@ -150,6 +150,7 @@ procedure TDaemonController.Controller(ControlCode, EventType: DWord;
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
// Send control code to daemon thread.
|
// Send control code to daemon thread.
|
||||||
|
TDaemonThread(Daemon.DaemonThread).HandleControlCode(ControlCode);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TDaemonController.ReportStatus: Boolean;
|
function TDaemonController.ReportStatus: Boolean;
|
||||||
@ -166,12 +167,6 @@ begin
|
|||||||
Application.Logger.Info(S);
|
Application.Logger.Info(S);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Procedure TDaemonController.ThreadTerminated(Sender : TObject);
|
|
||||||
|
|
||||||
begin
|
|
||||||
end;
|
|
||||||
|
|
||||||
|
|
||||||
{ ---------------------------------------------------------------------
|
{ ---------------------------------------------------------------------
|
||||||
Global initialization/Finalization
|
Global initialization/Finalization
|
||||||
---------------------------------------------------------------------}
|
---------------------------------------------------------------------}
|
||||||
|
Loading…
Reference in New Issue
Block a user