mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:29:32 +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);
|
||||
begin
|
||||
FSynchronizeException := nil;
|
||||
FMethod := Method;
|
||||
{ SendMessage(ThreadWindow, CM_EXECPROC, 0, Longint(Self)); }
|
||||
if Assigned(FSynchronizeException) then
|
||||
raise FSynchronizeException;
|
||||
end;
|
||||
|
||||
|
||||
|
@ -1397,8 +1397,6 @@ type
|
||||
FSuspended: LongBool;
|
||||
FReturnValue: Integer;
|
||||
FOnTerminate: TNotifyEvent;
|
||||
FMethod: TThreadMethod;
|
||||
FSynchronizeException: TObject;
|
||||
FFatalException: TObject;
|
||||
procedure CallOnTerminate;
|
||||
function GetPriority: TThreadPriority;
|
||||
|
Loading…
Reference in New Issue
Block a user