mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 16:29:31 +02:00
* Removed unused private fields TThread.FMethod and TThread.FSynchronizeException.
* Removed all code of TThread.Synchronize() for BeOS, since existing code is copy/paste from win32 code and does not work anyway. git-svn-id: trunk@13078 -
This commit is contained in:
parent
f6d452c2c0
commit
80fe51380d
@ -244,11 +244,6 @@ end;
|
|||||||
|
|
||||||
procedure TThread.Synchronize(Method: TThreadMethod);
|
procedure TThread.Synchronize(Method: TThreadMethod);
|
||||||
begin
|
begin
|
||||||
FSynchronizeException := nil;
|
|
||||||
FMethod := Method;
|
|
||||||
{ SendMessage(ThreadWindow, CM_EXECPROC, 0, Longint(Self)); }
|
|
||||||
if Assigned(FSynchronizeException) then
|
|
||||||
raise FSynchronizeException;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1397,8 +1397,6 @@ type
|
|||||||
FSuspended: LongBool;
|
FSuspended: LongBool;
|
||||||
FReturnValue: Integer;
|
FReturnValue: Integer;
|
||||||
FOnTerminate: TNotifyEvent;
|
FOnTerminate: TNotifyEvent;
|
||||||
FMethod: TThreadMethod;
|
|
||||||
FSynchronizeException: TObject;
|
|
||||||
FFatalException: TObject;
|
FFatalException: TObject;
|
||||||
procedure CallOnTerminate;
|
procedure CallOnTerminate;
|
||||||
function GetPriority: TThreadPriority;
|
function GetPriority: TThreadPriority;
|
||||||
|
Loading…
Reference in New Issue
Block a user