فهرست منبع

* 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 -

yury 16 سال پیش
والد
کامیت
80fe51380d
2فایلهای تغییر یافته به همراه0 افزوده شده و 7 حذف شده
  1. 0 5
      rtl/beos/tthread.inc
  2. 0 2
      rtl/objpas/classes/classesh.inc

+ 0 - 5
rtl/beos/tthread.inc

@@ -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;
 
 

+ 0 - 2
rtl/objpas/classes/classesh.inc

@@ -1397,8 +1397,6 @@ type
     FSuspended: LongBool;
     FReturnValue: Integer;
     FOnTerminate: TNotifyEvent;
-    FMethod: TThreadMethod;
-    FSynchronizeException: TObject;
     FFatalException: TObject;
     procedure CallOnTerminate;
     function GetPriority: TThreadPriority;